diff options
author | Paul Mundt | 2010-10-27 14:24:34 +0900 |
---|---|---|
committer | Paul Mundt | 2010-10-27 14:24:34 +0900 |
commit | 9cc1cf380e15f7314f8defb849b8e926d5755f8b (patch) | |
tree | 5192e6e9467ed34d97e08fb7d8e831ab5089d34b | |
parent | 38ab13441c36c0c470b7e4e3b30ec2fb6beba253 (diff) |
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>
-rw-r--r-- | arch/sh/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 82c0a0c1df0d..d6b018c7ebdc 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). |