diff options
author | Luke Yang <luke.adi@gmail.com> | 2006-02-20 21:28:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-20 23:00:11 -0500 |
commit | 7a9166e3b037296366cea6f3c97f705d33e209e6 (patch) | |
tree | 275c713bc92309b6f90e5c66699753c0268c6be5 /kernel/sysctl.c | |
parent | c8b8b1f2e0eeb91cca22211950742b5f51564672 (diff) |
[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.c | 2 |
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[] = { | |||
636 | .proc_handler = &proc_dointvec, | 636 | .proc_handler = &proc_dointvec, |
637 | }, | 637 | }, |
638 | #endif | 638 | #endif |
639 | #if defined(CONFIG_MMU) | ||
639 | { | 640 | { |
640 | .ctl_name = KERN_RANDOMIZE, | 641 | .ctl_name = KERN_RANDOMIZE, |
641 | .procname = "randomize_va_space", | 642 | .procname = "randomize_va_space", |
@@ -644,6 +645,7 @@ static ctl_table kern_table[] = { | |||
644 | .mode = 0644, | 645 | .mode = 0644, |
645 | .proc_handler = &proc_dointvec, | 646 | .proc_handler = &proc_dointvec, |
646 | }, | 647 | }, |
648 | #endif | ||
647 | #if defined(CONFIG_S390) && defined(CONFIG_SMP) | 649 | #if defined(CONFIG_S390) && defined(CONFIG_SMP) |
648 | { | 650 | { |
649 | .ctl_name = KERN_SPIN_RETRY, | 651 | .ctl_name = KERN_SPIN_RETRY, |