From: Meelis Roos <mroos@linux.ee>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] ia64: fix compilation for !CONFIG_FLATMEM
Date: Fri, 06 Jun 2014 11:12:11 +0000 [thread overview]
Message-ID: <alpine.SOC.1.00.1406061408190.8408@math.ut.ee> (raw)
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)
reply other threads:[~2014-06-06 11:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.SOC.1.00.1406061408190.8408@math.ut.ee \
--to=mroos@linux.ee \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox