projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ab134
)
sh: Fix the sparsemem disabled build.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 27 Oct 2010 05:24:34 +0000
(14:24 +0900)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/setup.c
b/arch/sh/kernel/setup.c
index 82c0a0c1df0dfa68abef6376e1f7d2099df2a9e1..d6b018c7ebdc8f8f5fe051d06ef30495770bef6b 100644
(file)
--- 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).