Changeset 7f1c620 in mainline for arch/ia64/src/cpu/cpu.c


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/src/cpu/cpu.c

    r991779c5 r7f1c620  
    5252{
    5353        char *family_str;
    54         char vendor[2*sizeof(__u64)+1];
     54        char vendor[2*sizeof(uint64_t)+1];
    5555       
    56         *((__u64 *) &vendor[0*sizeof(__u64)]) = CPU->arch.cpuid0;
    57         *((__u64 *) &vendor[1*sizeof(__u64)]) = CPU->arch.cpuid1;
     56        *((uint64_t *) &vendor[0*sizeof(uint64_t)]) = CPU->arch.cpuid0;
     57        *((uint64_t *) &vendor[1*sizeof(uint64_t)]) = CPU->arch.cpuid1;
    5858        vendor[sizeof(vendor)-1] = '\0';
    5959       
Note: See TracChangeset for help on using the changeset viewer.