Changeset 7f1c620 in mainline for arch/ia64/include/cpu.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/ia64/include/cpu.h

    r991779c5 r7f1c620  
    4444
    4545struct cpu_arch {
    46         __u64 cpuid0;
    47         __u64 cpuid1;
     46        uint64_t cpuid0;
     47        uint64_t cpuid1;
    4848        cpuid3_t cpuid3;
    4949};
     
    5555 * @return Value of CPUID[n] register.
    5656 */
    57 static inline __u64 cpuid_read(int n)
     57static inline uint64_t cpuid_read(int n)
    5858{
    59         __u64 v;
     59        uint64_t v;
    6060       
    6161        __asm__ volatile ("mov %0 = cpuid[%1]\n" : "=r" (v) : "r" (n));
Note: See TracChangeset for help on using the changeset viewer.