Changeset 7f1c620 in mainline for arch/amd64/include/cpuid.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/cpuid.h

    r991779c5 r7f1c620  
    4848
    4949struct cpu_info {
    50         __u32 cpuid_eax;
    51         __u32 cpuid_ebx;
    52         __u32 cpuid_ecx;
    53         __u32 cpuid_edx;
     50        uint32_t cpuid_eax;
     51        uint32_t cpuid_ebx;
     52        uint32_t cpuid_ecx;
     53        uint32_t cpuid_edx;
    5454} __attribute__ ((packed));
    5555
    5656extern int has_cpuid(void);
    5757
    58 extern void cpuid(__u32 cmd, cpu_info_t *info);
     58extern void cpuid(uint32_t cmd, cpu_info_t *info);
    5959
    6060
    61 extern __u64 rdtsc(void);
     61extern uint64_t rdtsc(void);
    6262
    6363#endif /* __ASM__ */
Note: See TracChangeset for help on using the changeset viewer.