aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLuke Yang <luke.adi@gmail.com>2006-02-20 18:28:07 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-20 20:00:11 -0800
commit7a9166e3b037296366cea6f3c97f705d33e209e6 (patch)
tree275c713bc92309b6f90e5c66699753c0268c6be5 /kernel
parentc8b8b1f2e0eeb91cca22211950742b5f51564672 (diff)
downloadkernel_goldelico_gta04-7a9166e3b037296366cea6f3c97f705d33e209e6.zip
kernel_goldelico_gta04-7a9166e3b037296366cea6f3c97f705d33e209e6.tar.gz
kernel_goldelico_gta04-7a9166e3b037296366cea6f3c97f705d33e209e6.tar.bz2
[PATCH] Fix undefined symbols for nommu architecture
Signed-off-by: Luke Yang <luke.adi@gmail.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index ebc41bf..c05a2b7 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -636,6 +636,7 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_dointvec,
},
#endif
+#if defined(CONFIG_MMU)
{
.ctl_name = KERN_RANDOMIZE,
.procname = "randomize_va_space",
@@ -644,6 +645,7 @@ static ctl_table kern_table[] = {
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#endif
#if defined(CONFIG_S390) && defined(CONFIG_SMP)
{
.ctl_name = KERN_SPIN_RETRY,