فهرست منبع

x86: setup.c find_and_reserve_crashkernel should be static

Impact: cleanup, reduce kernel size a bit

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Jaswinder Singh 16 سال پیش
والد
کامیت
a9b43c7d98
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      arch/x86/kernel/setup.c

+ 1 - 0
arch/x86/kernel/setup.c

@@ -448,6 +448,7 @@ static void __init reserve_early_setup_data(void)
  * @size: Size of the crashkernel memory to reserve.
  * @size: Size of the crashkernel memory to reserve.
  * Returns the base address on success, and -1ULL on failure.
  * Returns the base address on success, and -1ULL on failure.
  */
  */
+static
 unsigned long long __init find_and_reserve_crashkernel(unsigned long long size)
 unsigned long long __init find_and_reserve_crashkernel(unsigned long long size)
 {
 {
 	const unsigned long long alignment = 16<<20; 	/* 16M */
 	const unsigned long long alignment = 16<<20; 	/* 16M */