aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2009-01-03 05:22:54 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-04 07:23:02 -0500
commitb0e239ffad5aff50823c91c10cf6b72a1a651c2f (patch)
treea29c9c536697ad9cb6f8b9e59dfe8eff5b239718 /arch/x86/kernel
parent8fb2952b8a8b8b3f982297f0fca288ce04f419a8 (diff)
x86: rename mpc_config_oemtable to mpc_oemtable
Impact: cleanup, solve 80 columns wrap problems mpc_config_oemtable should be renamed to mpc_oemtable. The reason: the 'c' in MPC already means 'config' - no need to repeat that in the type name. Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/mpparse.c2
-rw-r--r--arch/x86/kernel/numaq_32.c2
2 files changed, 2 insertions, 2 deletions
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
189static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable, 189static 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 */