Changeset 7f1c620 in mainline for arch/ia64/include/cpu.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/cpu.h
r991779c5 r7f1c620 44 44 45 45 struct cpu_arch { 46 __u64cpuid0;47 __u64cpuid1;46 uint64_t cpuid0; 47 uint64_t cpuid1; 48 48 cpuid3_t cpuid3; 49 49 }; … … 55 55 * @return Value of CPUID[n] register. 56 56 */ 57 static inline __u64cpuid_read(int n)57 static inline uint64_t cpuid_read(int n) 58 58 { 59 __u64v;59 uint64_t v; 60 60 61 61 __asm__ volatile ("mov %0 = cpuid[%1]\n" : "=r" (v) : "r" (n));
Note:
See TracChangeset
for help on using the changeset viewer.