Răsfoiți Sursa

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>
Paul Mundt 14 ani în urmă
părinte
comite
9cc1cf380e
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      arch/sh/kernel/setup.c

+ 1 - 0
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).