diff options
| -rw-r--r-- | arch/x86/include/asm/mpspec_def.h | 10 | ||||
| -rw-r--r-- | arch/x86/kernel/numaq_32.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/include/asm/mpspec_def.h b/arch/x86/include/asm/mpspec_def.h index 60ba5439e9f2..6ea62ea2dc21 100644 --- a/arch/x86/include/asm/mpspec_def.h +++ b/arch/x86/include/asm/mpspec_def.h | |||
| @@ -152,11 +152,11 @@ struct mpc_lintsrc { | |||
| 152 | #define MPC_OEM_SIGNATURE "_OEM" | 152 | #define MPC_OEM_SIGNATURE "_OEM" |
| 153 | 153 | ||
| 154 | struct mpc_oemtable { | 154 | struct mpc_oemtable { |
| 155 | char oem_signature[4]; | 155 | char signature[4]; |
| 156 | unsigned short oem_length; /* Size of table */ | 156 | unsigned short length; /* Size of table */ |
| 157 | char oem_rev; /* 0x01 */ | 157 | char rev; /* 0x01 */ |
| 158 | char oem_checksum; | 158 | char checksum; |
| 159 | char mpc_oem[8]; | 159 | char mpc[8]; |
| 160 | }; | 160 | }; |
| 161 | 161 | ||
| 162 | /* | 162 | /* |
diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c index 8242fef6d0e5..f2191d4f2717 100644 --- a/arch/x86/kernel/numaq_32.c +++ b/arch/x86/kernel/numaq_32.c | |||
| @@ -194,18 +194,18 @@ static void __init smp_read_mpc_oem(struct mpc_oemtable *oemtable, | |||
| 194 | mpc_record = 0; | 194 | mpc_record = 0; |
| 195 | printk(KERN_INFO "Found an OEM MPC table at %8p - parsing it ... \n", | 195 | printk(KERN_INFO "Found an OEM MPC table at %8p - parsing it ... \n", |
| 196 | oemtable); | 196 | oemtable); |
| 197 | if (memcmp(oemtable->oem_signature, MPC_OEM_SIGNATURE, 4)) { | 197 | if (memcmp(oemtable->signature, MPC_OEM_SIGNATURE, 4)) { |
| 198 | printk(KERN_WARNING | 198 | printk(KERN_WARNING |
| 199 | "SMP mpc oemtable: bad signature [%c%c%c%c]!\n", | 199 | "SMP mpc oemtable: bad signature [%c%c%c%c]!\n", |
| 200 | oemtable->oem_signature[0], oemtable->oem_signature[1], | 200 | oemtable->signature[0], oemtable->signature[1], |
| 201 | oemtable->oem_signature[2], oemtable->oem_signature[3]); | 201 | oemtable->signature[2], oemtable->signature[3]); |
| 202 | return; | 202 | return; |
| 203 | } | 203 | } |
| 204 | if (mpf_checksum((unsigned char *)oemtable, oemtable->oem_length)) { | 204 | if (mpf_checksum((unsigned char *)oemtable, oemtable->length)) { |
| 205 | printk(KERN_WARNING "SMP oem mptable: checksum error!\n"); | 205 | printk(KERN_WARNING "SMP oem mptable: checksum error!\n"); |
| 206 | return; | 206 | return; |
| 207 | } | 207 | } |
| 208 | while (count < oemtable->oem_length) { | 208 | while (count < oemtable->length) { |
| 209 | switch (*oemptr) { | 209 | switch (*oemptr) { |
| 210 | case MP_TRANSLATION: | 210 | case MP_TRANSLATION: |
| 211 | { | 211 | { |
