diff options
| -rw-r--r-- | arch/x86/include/asm/mpspec_def.h | 2 | ||||
| -rw-r--r-- | arch/x86/include/asm/setup.h | 4 | ||||
| -rw-r--r-- | arch/x86/kernel/mpparse.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/numaq_32.c | 2 | ||||
| -rw-r--r-- | arch/x86/mach-generic/es7000.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/include/asm/mpspec_def.h b/arch/x86/include/asm/mpspec_def.h index fabf970813bf..ba8ed0cf658d 100644 --- a/arch/x86/include/asm/mpspec_def.h +++ b/arch/x86/include/asm/mpspec_def.h | |||
| @@ -151,7 +151,7 @@ struct mpc_lintsrc { | |||
| 151 | 151 | ||
| 152 | #define MPC_OEM_SIGNATURE "_OEM" | 152 | #define MPC_OEM_SIGNATURE "_OEM" |
| 153 | 153 | ||
| 154 | struct mp_config_oemtable { | 154 | struct mpc_oemtable { |
| 155 | char oem_signature[4]; | 155 | char oem_signature[4]; |
| 156 | unsigned short oem_length; /* Size of table */ | 156 | unsigned short oem_length; /* Size of table */ |
| 157 | char oem_rev; /* 0x01 */ | 157 | char oem_rev; /* 0x01 */ |
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index 8cf77ec2088a..ebe858cdc8a3 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h | |||
| @@ -27,7 +27,7 @@ extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip); | |||
| 27 | */ | 27 | */ |
| 28 | struct mpc_cpu; | 28 | struct mpc_cpu; |
| 29 | struct mpc_bus; | 29 | struct mpc_bus; |
| 30 | struct mp_config_oemtable; | 30 | struct mpc_oemtable; |
| 31 | struct x86_quirks { | 31 | struct x86_quirks { |
| 32 | int (*arch_pre_time_init)(void); | 32 | int (*arch_pre_time_init)(void); |
| 33 | int (*arch_time_init)(void); | 33 | int (*arch_time_init)(void); |
| @@ -42,7 +42,7 @@ struct x86_quirks { | |||
| 42 | int (*mpc_apic_id)(struct mpc_cpu *m); | 42 | int (*mpc_apic_id)(struct mpc_cpu *m); |
| 43 | void (*mpc_oem_bus_info)(struct mpc_bus *m, char *name); | 43 | void (*mpc_oem_bus_info)(struct mpc_bus *m, char *name); |
| 44 | void (*mpc_oem_pci_bus)(struct mpc_bus *m); | 44 | void (*mpc_oem_pci_bus)(struct mpc_bus *m); |
| 45 | void (*smp_read_mpc_oem)(struct mp_config_oemtable *oemtable, | 45 | void (*smp_read_mpc_oem)(struct mpc_oemtable *oemtable, |
| 46 | unsigned short oemsize); | 46 | unsigned short oemsize); |
| 47 | int (*setup_ioapic_ids)(void); | 47 | int (*setup_ioapic_ids)(void); |
| 48 | int (*update_genapic)(void); | 48 | int (*update_genapic)(void); |
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index defe87e12056..1ccb2537e3fd 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
| @@ -313,7 +313,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early) | |||
| 313 | return 1; | 313 | return 1; |
| 314 | 314 | ||
| 315 | if (mpc->mpc_oemptr && x86_quirks->smp_read_mpc_oem) { | 315 | if (mpc->mpc_oemptr && x86_quirks->smp_read_mpc_oem) { |
| 316 | struct mp_config_oemtable *oem_table = (struct mp_config_oemtable *)(unsigned long)mpc->mpc_oemptr; | 316 | struct mpc_oemtable *oem_table = (void *)(long)mpc->mpc_oemptr; |
| 317 | x86_quirks->smp_read_mpc_oem(oem_table, mpc->mpc_oemsize); | 317 | x86_quirks->smp_read_mpc_oem(oem_table, mpc->mpc_oemsize); |
| 318 | } | 318 | } |
| 319 | 319 | ||
diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c index bcc3da1644fe..aa1e5a068551 100644 --- a/arch/x86/kernel/numaq_32.c +++ b/arch/x86/kernel/numaq_32.c | |||
| @@ -186,7 +186,7 @@ static int __init mpf_checksum(unsigned char *mp, int len) | |||
| 186 | * Read/parse the MPC oem tables | 186 | * Read/parse the MPC oem tables |
| 187 | */ | 187 | */ |
| 188 | 188 | ||
| 189 | static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable, | 189 | static void __init smp_read_mpc_oem(struct mpc_oemtable *oemtable, |
| 190 | unsigned short oemsize) | 190 | unsigned short oemsize) |
| 191 | { | 191 | { |
| 192 | int count = sizeof(*oemtable); /* the header size */ | 192 | int count = sizeof(*oemtable); /* the header size */ |
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c index 3b580edf254b..39243a796e18 100644 --- a/arch/x86/mach-generic/es7000.c +++ b/arch/x86/mach-generic/es7000.c | |||
| @@ -47,8 +47,8 @@ static __init int | |||
| 47 | mps_oem_check(struct mpc_table *mpc, char *oem, char *productid) | 47 | mps_oem_check(struct mpc_table *mpc, char *oem, char *productid) |
| 48 | { | 48 | { |
| 49 | if (mpc->mpc_oemptr) { | 49 | if (mpc->mpc_oemptr) { |
| 50 | struct mp_config_oemtable *oem_table = | 50 | struct mpc_oemtable *oem_table = |
| 51 | (struct mp_config_oemtable *)mpc->mpc_oemptr; | 51 | (struct mpc_oemtable *)mpc->mpc_oemptr; |
| 52 | if (!strncmp(oem, "UNISYS", 6)) | 52 | if (!strncmp(oem, "UNISYS", 6)) |
| 53 | return parse_unisys_oem((char *)oem_table); | 53 | return parse_unisys_oem((char *)oem_table); |
| 54 | } | 54 | } |
