sh: Fix the sparsemem disabled build.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Oct 2010 05:24:34 +0000 (14:24 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Oct 2010 05:24:34 +0000 (14:24 +0900)
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>
arch/sh/kernel/setup.c

index 82c0a0c1df0dfa68abef6376e1f7d2099df2a9e1..d6b018c7ebdc8f8f5fe051d06ef30495770bef6b 100644 (file)
@@ -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).