x86: move es7000_plat closer to its user
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index 1b225ce..4cc325e 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -867,8 +867,6 @@
smp_scan_config(address, 0x400);
}
-int es7000_plat;
-
/* --------------------------------------------------------------------------
ACPI-based MP Configuration
-------------------------------------------------------------------------- */
@@ -1029,6 +1027,8 @@
panic("Max # of irq sources exceeded!\n");
}
+int es7000_plat;
+
void __init mp_config_acpi_legacy_irqs (void)
{
struct mpc_config_intsrc intsrc;