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>
This commit is contained in:
committed by
Linus Torvalds
parent
c7705f3449
commit
88f458e4b9
11
init/Kconfig
11
init/Kconfig
@ -550,6 +550,17 @@ config SYSCTL_SYSCALL
|
||||
|
||||
If unsure say Y here.
|
||||
|
||||
config SYSCTL_SYSCALL_CHECK
|
||||
bool "Sysctl checks" if EMBEDDED
|
||||
depends on SYSCTL_SYSCALL
|
||||
default y
|
||||
---help---
|
||||
sys_sysctl uses binary paths that have been found challenging
|
||||
to properly maintain and use. This enables checks that help
|
||||
you to keep things correct.
|
||||
|
||||
If unsure say Y here.
|
||||
|
||||
config KALLSYMS
|
||||
bool "Load all symbols for debugging/ksymoops" if EMBEDDED
|
||||
default y
|
||||
|
Reference in New Issue
Block a user