summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2009-02-08 14:49:39 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-10 03:39:09 (GMT)
commit0b2f82872ff855b92e9e8356b90ef429d96d6977 (patch)
tree36698c3bea13a55443944e420e8d5e14b9231e21 /arch/powerpc/platforms/pseries
parent5b11abfdb572bf9284e596dd198ac2aaf95b6616 (diff)
downloadlinux-fsl-qoriq-0b2f82872ff855b92e9e8356b90ef429d96d6977.tar.xz
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/powerpc/platforms/pseries')
-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 a623ad2..9b21ee6 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)
{