Changeset 134877d in mainline for kernel/arch/ia32xen/include/asm.h


Ignore:
Timestamp:
2006-12-11T17:40:10Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
319e60e
Parents:
8cd140f2
Message:

rename rdtsc() to get_cycle()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32xen/include/asm.h

    r8cd140f2 r134877d  
    219219}
    220220
    221 static inline uint64_t rdtsc(void)
    222 {
    223         uint64_t v;
    224        
    225         __asm__ volatile("rdtsc\n" : "=A" (v));
    226        
    227         return v;
    228 }
    229 
    230221/** Return current IP address */
    231222static inline uintptr_t * get_ip()
Note: See TracChangeset for help on using the changeset viewer.