summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2009-02-08 15:49:39 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-10 04:39:09 +0100
commit0b2f82872ff855b92e9e8356b90ef429d96d6977 (patch)
tree36698c3bea13a55443944e420e8d5e14b9231e21 /arch
parentpowerpc/pci: mmap anonymous memory when legacy_mem doesn't exist (diff)
downloadlinux-0b2f82872ff855b92e9e8356b90ef429d96d6977.tar.xz
linux-0b2f82872ff855b92e9e8356b90ef429d96d6977.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pseries/hotplug-memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c
index a623ad256e9e..9b21ee68ea50 100644
--- a/arch/powerpc/platforms/pseries/hotplug-memory.c
+++ b/arch/powerpc/platforms/pseries/hotplug-memory.c
@@ -14,6 +14,7 @@
#include <asm/firmware.h>
#include <asm/machdep.h>
#include <asm/pSeries_reconfig.h>
+#include <asm/sparsemem.h>
static int pseries_remove_lmb(unsigned long base, unsigned int lmb_size)
{