public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ia64: fix compilation for !CONFIG_FLATMEM
@ 2014-06-06 11:12 Meelis Roos
  0 siblings, 0 replies; only message in thread
From: Meelis Roos @ 2014-06-06 11:12 UTC (permalink / raw)
  To: linux-ia64

When CONFIG_FLATMEM is not set, GRANULEROUNDDOWN and GRANULEROUNDUP are 
used in arch/ia64/mm/init.c but compilation fails because they are 
undefined. Include asm/meminit.h to get the definitions.

Signed-off-by: Meelis Roos <mroos@linux.ee>

diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c
index 25c3502..499c2dc 100644
--- a/arch/ia64/mm/init.c
+++ b/arch/ia64/mm/init.c
@@ -35,6 +35,7 @@
 #include <asm/unistd.h>
 #include <asm/mca.h>
 #include <asm/paravirt.h>
+#include <asm/meminit.h>
 
 extern void ia64_tlb_init (void);
 

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-06 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 11:12 [PATCH] ia64: fix compilation for !CONFIG_FLATMEM Meelis Roos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox