浏览代码

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.
  * 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 */