summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-27 14:24:34 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-10-27 14:24:34 +0900
commit9cc1cf380e15f7314f8defb849b8e926d5755f8b (patch)
tree5192e6e9467ed34d97e08fb7d8e831ab5089d34b /arch/sh/kernel
parent38ab13441c36c0c470b7e4e3b30ec2fb6beba253 (diff)
downloadop-kernel-dev-9cc1cf380e15f7314f8defb849b8e926d5755f8b.zip
op-kernel-dev-9cc1cf380e15f7314f8defb849b8e926d5755f8b.tar.gz
sh: Fix the sparsemem disabled build.
The introduction of MAX_PHYSMEM_BITS in to the initial cpuinfo struct causes a build error when sparsemem is disabled and asm/sparsemem.h is not brought in by other means. Include it explicitly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 82c0a0c..d6b018c 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -41,6 +41,7 @@
#include <asm/smp.h>
#include <asm/mmu_context.h>
#include <asm/mmzone.h>
+#include <asm/sparsemem.h>
/*
* Initialize loops_per_jiffy as 10000000 (1000MIPS).
OpenPOWER on IntegriCloud