Changeset 134877d in mainline for kernel/arch/ia32/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/ia32/include/asm.h

    r8cd140f2 r134877d  
    229229}
    230230
    231 static inline uint64_t rdtsc(void)
    232 {
    233         uint64_t v;
    234        
    235         __asm__ volatile("rdtsc\n" : "=A" (v));
    236        
    237         return v;
    238 }
    239 
    240231/** Return current IP address */
    241232static inline uintptr_t * get_ip()
Note: See TracChangeset for help on using the changeset viewer.