From: Paul Mundt Date: Wed, 27 Oct 2010 05:24:34 +0000 (+0900) Subject: sh: Fix the sparsemem disabled build. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9cc1cf380e15f7314f8defb849b8e926d5755f8b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 82c0a0c1df0d..d6b018c7ebdc 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).