* [PATCH] powerpc: add missing sparsemem.h include
@ 2009-02-09 0:49 Michael Neuling
0 siblings, 0 replies; only message in thread
From: Michael Neuling @ 2009-02-09 0:49 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
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>
---
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-09 0:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 0:49 [PATCH] powerpc: add missing sparsemem.h include Michael Neuling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).