[PATCH] powerpc: add missing sparsemem.h include
Michael Neuling
mikey at neuling.org
Mon Feb 9 11:49:39 EST 2009
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 at neuling.org>
---
This is against mainline, so should be pushed up soon-ish...
arch/powerpc/platforms/pseries/hotplug-memory.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6-ozlabs/arch/powerpc/platforms/pseries/hotplug-memory.c
===================================================================
--- linux-2.6-ozlabs.orig/arch/powerpc/platforms/pseries/hotplug-memory.c
+++ linux-2.6-ozlabs/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)
{
More information about the Linuxppc-dev
mailing list