浏览代码

powerpc: Add missing sparsemem.h include

arch/powerpc/platforms/pseries/hotplug-memory.c uses
remove_section_mapping() but doesn't include sparsemem.h which defines
it.  This can cause compilation fails for some configs.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Michael Neuling 16 年之前
父节点
当前提交
0b2f82872f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/powerpc/platforms/pseries/hotplug-memory.c

+ 1 - 0
arch/powerpc/platforms/pseries/hotplug-memory.c

@@ -14,6 +14,7 @@
 #include <asm/firmware.h>
 #include <asm/firmware.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/pSeries_reconfig.h>
 #include <asm/pSeries_reconfig.h>
+#include <asm/sparsemem.h>
 
 
 static int pseries_remove_lmb(unsigned long base, unsigned int lmb_size)
 static int pseries_remove_lmb(unsigned long base, unsigned int lmb_size)
 {
 {