x86: mpparse.c fix style problems

Impact: cleanup, fix style problems, more readable

Fixes style problems:

WARNING: Use #include <linux/smp.h> instead of <asm/smp.h>
WARNING: Use #include <linux/acpi.h> instead of <asm/acpi.h>
WARNING: suspect code indent for conditional statements (8, 17)
WARNING: space prohibited between function name and open parenthesis '('

total: 0 errors, 5 warnings

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Jaswinder Singh Rajput and committed by
Ingo Molnar
103ceffb dceb4521

+5 -5
+5 -5
arch/x86/kernel/mpparse.c
··· 16 16 #include <linux/bitops.h> 17 17 #include <linux/acpi.h> 18 18 #include <linux/module.h> 19 + #include <linux/smp.h> 20 + #include <linux/acpi.h> 19 21 20 - #include <asm/smp.h> 21 22 #include <asm/mtrr.h> 22 23 #include <asm/mpspec.h> 23 24 #include <asm/pgalloc.h> 24 25 #include <asm/io_apic.h> 25 26 #include <asm/proto.h> 26 - #include <asm/acpi.h> 27 27 #include <asm/bios_ebda.h> 28 28 #include <asm/e820.h> 29 29 #include <asm/trampoline.h> ··· 95 95 #endif 96 96 97 97 if (strncmp(str, BUSTYPE_ISA, sizeof(BUSTYPE_ISA) - 1) == 0) { 98 - set_bit(m->mpc_busid, mp_bus_not_pci); 99 - #if defined(CONFIG_EISA) || defined (CONFIG_MCA) 98 + set_bit(m->mpc_busid, mp_bus_not_pci); 99 + #if defined(CONFIG_EISA) || defined(CONFIG_MCA) 100 100 mp_bus_id_to_type[m->mpc_busid] = MP_BUS_ISA; 101 101 #endif 102 102 } else if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI) - 1) == 0) { ··· 104 104 x86_quirks->mpc_oem_pci_bus(m); 105 105 106 106 clear_bit(m->mpc_busid, mp_bus_not_pci); 107 - #if defined(CONFIG_EISA) || defined (CONFIG_MCA) 107 + #if defined(CONFIG_EISA) || defined(CONFIG_MCA) 108 108 mp_bus_id_to_type[m->mpc_busid] = MP_BUS_PCI; 109 109 } else if (strncmp(str, BUSTYPE_EISA, sizeof(BUSTYPE_EISA) - 1) == 0) { 110 110 mp_bus_id_to_type[m->mpc_busid] = MP_BUS_EISA;