summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2009-01-04 22:22:56 +0530
committerIngo Molnar <mingo@elte.hu>2009-01-05 14:08:34 +0100
commit6c65da50bd4589b6b627d4842b8e6705a0ccaab5 (patch)
treedcbed07153dd111b6a7f59b0ff590c37d504d701 /arch/x86/mach-generic
parenta1d0272a4676460787bcd7352414e0286763968d (diff)
downloadop-kernel-dev-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.zip
op-kernel-dev-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.tar.gz
x86: rename all fields of mpc_table mpc_X to X
Impact: cleanup, solve 80 columns wrap problems It would be cleaner to rename all the mpc->mpc_X fields to mpc->X - that alone would give 4 characters per usage site. (we already know that it's an 'mpc' entity - no need to duplicate that in the field too) Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic')
-rw-r--r--arch/x86/mach-generic/es7000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c
index 39243a7..c2ded14 100644
--- a/arch/x86/mach-generic/es7000.c
+++ b/arch/x86/mach-generic/es7000.c
@@ -46,9 +46,9 @@ static void __init enable_apic_mode(void)
static __init int
mps_oem_check(struct mpc_table *mpc, char *oem, char *productid)
{
- if (mpc->mpc_oemptr) {
+ if (mpc->oemptr) {
struct mpc_oemtable *oem_table =
- (struct mpc_oemtable *)mpc->mpc_oemptr;
+ (struct mpc_oemtable *)mpc->oemptr;
if (!strncmp(oem, "UNISYS", 6))
return parse_unisys_oem((char *)oem_table);
}
OpenPOWER on IntegriCloud