summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorLuke Yang <luke.adi@gmail.com>2006-02-21 03:28:07 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-21 05:00:11 +0100
commit7a9166e3b037296366cea6f3c97f705d33e209e6 (patch)
tree275c713bc92309b6f90e5c66699753c0268c6be5 /kernel/sysctl.c
parent[PATCH] powermac: Fix loss of ethernet PHY on sleep (diff)
downloadlinux-7a9166e3b037296366cea6f3c97f705d33e209e6.tar.xz
linux-7a9166e3b037296366cea6f3c97f705d33e209e6.zip
[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/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index ebc41bf22f1e..c05a2b7125e1 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,