Ver código fonte

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 anos atrás
pai
commit
a9b43c7d98
1 arquivos alterados com 1 adições e 0 exclusões
  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.
  * Returns the base address on success, and -1ULL on failure.
  */
+static
 unsigned long long __init find_and_reserve_crashkernel(unsigned long long size)
 {
 	const unsigned long long alignment = 16<<20; 	/* 16M */