Changeset 1787e527 in mainline for kernel/arch/ia64/src/cpu/cpu.c


Ignore:
Timestamp:
2009-11-16T21:22:54Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ebdf94
Parents:
fcbd1be (diff), 9c70ed6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merged with head (unstable)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/cpu/cpu.c

    rfcbd1be r1787e527  
    5454        char vendor[2 * sizeof(uint64_t) + 1];
    5555       
    56         *((uint64_t *) &vendor[0 * sizeof(uint64_t)]) = CPU->arch.cpuid0;
    57         *((uint64_t *) &vendor[1 * sizeof(uint64_t)]) = CPU->arch.cpuid1;
     56        memcpy(vendor, &CPU->arch.cpuid0, 8);
     57        memcpy(vendor + 8, &CPU->arch.cpuid1, 8);
    5858        vendor[sizeof(vendor) - 1] = 0;
    5959       
    60         switch(m->arch.cpuid3.family) {
     60        switch (m->arch.cpuid3.family) {
    6161        case FAMILY_ITANIUM:
    6262                family_str = "Itanium";
Note: See TracChangeset for help on using the changeset viewer.