diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-04-29 04:02:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:22 -0400 |
commit | 88f458e4b91348b2e892c72977b5f665d7f374da (patch) | |
tree | 1ef9e98f74fc63193327053af079079e23aa8443 /init | |
parent | c7705f3449c7edd5c1744871097f93977227afc4 (diff) |
sysctl: allow embedded targets to disable sysctl_check.c
Disable sysctl_check.c for embedded targets. This saves about about 11 kB
in .text and another 11 kB in .data on a PXA255 embedded platform.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 98fa96eac415..3e7b257fc05f 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -550,6 +550,17 @@ config SYSCTL_SYSCALL | |||
550 | 550 | ||
551 | If unsure say Y here. | 551 | If unsure say Y here. |
552 | 552 | ||
553 | config SYSCTL_SYSCALL_CHECK | ||
554 | bool "Sysctl checks" if EMBEDDED | ||
555 | depends on SYSCTL_SYSCALL | ||
556 | default y | ||
557 | ---help--- | ||
558 | sys_sysctl uses binary paths that have been found challenging | ||
559 | to properly maintain and use. This enables checks that help | ||
560 | you to keep things correct. | ||
561 | |||
562 | If unsure say Y here. | ||
563 | |||
553 | config KALLSYMS | 564 | config KALLSYMS |
554 | bool "Load all symbols for debugging/ksymoops" if EMBEDDED | 565 | bool "Load all symbols for debugging/ksymoops" if EMBEDDED |
555 | default y | 566 | default y |