From: Paul Mundt Date: Wed, 27 Oct 2010 05:24:34 +0000 (+0900) Subject: sh: Fix the sparsemem disabled build. X-Git-Tag: v2.6.37-rc1~61^2~27 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9cc1cf380e15f7314f8defb849b8e926d5755f8b;p=~emulex%2Finfiniband.git 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 --- diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 82c0a0c1df0..d6b018c7ebd 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -41,6 +41,7 @@ #include #include #include +#include /* * Initialize loops_per_jiffy as 10000000 (1000MIPS).