x86: change some functions in setup.c to static
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 7690547..35022dc 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -375,7 +375,7 @@
}
#endif /* CONFIG_BLK_DEV_INITRD */
-void __init parse_setup_data(void)
+static void __init parse_setup_data(void)
{
struct setup_data *data;
u64 pa_data;
@@ -417,7 +417,7 @@
return total << PAGE_SHIFT;
}
-void __init reserve_crashkernel(void)
+static void __init reserve_crashkernel(void)
{
unsigned long long total_mem;
unsigned long long crash_size, crash_base;
@@ -453,7 +453,7 @@
}
}
#else
-void __init reserve_crashkernel(void)
+static void __init reserve_crashkernel(void)
{
}
#endif
@@ -481,7 +481,7 @@
.flags = IORESOURCE_BUSY | IORESOURCE_IO }
};
-void __init reserve_standard_io_resources(void)
+static void __init reserve_standard_io_resources(void)
{
int i;