diff options
author | Jaswinder Singh Rajput <jaswinder@infradead.org> | 2009-01-03 05:17:32 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-04 07:22:59 -0500 |
commit | 00fb8606e5621a79ca2fe788e461fe8a59eb1450 (patch) | |
tree | 0ce2df639eb241fdae4ed1322b2fe685dc073ea6 /arch/x86/kernel/mpparse.c | |
parent | f29521e4ee394ca241df2ba546e9d671394927a2 (diff) |
x86: rename mpc_config_bus to mpc_bus
Impact: cleanup, solve 80 columns wrap problems
mpc_config_bus should be renamed to mpc_bus.
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/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 154de681e8b2..edbd2b19c603 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -74,7 +74,7 @@ static void __init MP_processor_info(struct mpc_config_processor *m) | |||
74 | } | 74 | } |
75 | 75 | ||
76 | #ifdef CONFIG_X86_IO_APIC | 76 | #ifdef CONFIG_X86_IO_APIC |
77 | static void __init MP_bus_info(struct mpc_config_bus *m) | 77 | static void __init MP_bus_info(struct mpc_bus *m) |
78 | { | 78 | { |
79 | char str[7]; | 79 | char str[7]; |
80 | memcpy(str, m->mpc_bustype, 6); | 80 | memcpy(str, m->mpc_bustype, 6); |
@@ -338,8 +338,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early) | |||
338 | } | 338 | } |
339 | case MP_BUS: | 339 | case MP_BUS: |
340 | { | 340 | { |
341 | struct mpc_config_bus *m = | 341 | struct mpc_bus *m = (struct mpc_bus *)mpt; |
342 | (struct mpc_config_bus *)mpt; | ||
343 | #ifdef CONFIG_X86_IO_APIC | 342 | #ifdef CONFIG_X86_IO_APIC |
344 | MP_bus_info(m); | 343 | MP_bus_info(m); |
345 | #endif | 344 | #endif |
@@ -488,7 +487,7 @@ static void __init construct_default_ioirq_mptable(int mpc_default_type) | |||
488 | static void __init construct_ioapic_table(int mpc_default_type) | 487 | static void __init construct_ioapic_table(int mpc_default_type) |
489 | { | 488 | { |
490 | struct mpc_config_ioapic ioapic; | 489 | struct mpc_config_ioapic ioapic; |
491 | struct mpc_config_bus bus; | 490 | struct mpc_bus bus; |
492 | 491 | ||
493 | bus.mpc_type = MP_BUS; | 492 | bus.mpc_type = MP_BUS; |
494 | bus.mpc_busid = 0; | 493 | bus.mpc_busid = 0; |
@@ -656,7 +655,7 @@ static void __init __get_smp_config(unsigned int early) | |||
656 | * ISA defaults and hope it will work. | 655 | * ISA defaults and hope it will work. |
657 | */ | 656 | */ |
658 | if (!mp_irq_entries) { | 657 | if (!mp_irq_entries) { |
659 | struct mpc_config_bus bus; | 658 | struct mpc_bus bus; |
660 | 659 | ||
661 | printk(KERN_ERR "BIOS bug, no explicit IRQ entries, " | 660 | printk(KERN_ERR "BIOS bug, no explicit IRQ entries, " |
662 | "using default mptable. " | 661 | "using default mptable. " |
@@ -867,8 +866,7 @@ static int __init replace_intsrc_all(struct mpc_table *mpc, | |||
867 | } | 866 | } |
868 | case MP_BUS: | 867 | case MP_BUS: |
869 | { | 868 | { |
870 | struct mpc_config_bus *m = | 869 | struct mpc_bus *m = (struct mpc_bus *)mpt; |
871 | (struct mpc_config_bus *)mpt; | ||
872 | mpt += sizeof(*m); | 870 | mpt += sizeof(*m); |
873 | count += sizeof(*m); | 871 | count += sizeof(*m); |
874 | break; | 872 | break; |