mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] remove all kernel BUGs
This patch eliminates all kernel BUGs, trims about 35k off the typical kernel, and makes the system slightly faster. Signed-off-by: Matt Mackall <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e43379f10b
commit
c8538a7aa5
20 changed files with 82 additions and 7 deletions
10
init/Kconfig
10
init/Kconfig
|
|
@ -275,6 +275,16 @@ config KALLSYMS_EXTRA_PASS
|
|||
reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while
|
||||
you wait for kallsyms to be fixed.
|
||||
|
||||
config BUG
|
||||
bool "BUG() support" if EMBEDDED
|
||||
default y
|
||||
help
|
||||
Disabling this option eliminates support for BUG and WARN, reducing
|
||||
the size of your kernel image and potentially quietly ignoring
|
||||
numerous fatal conditions. You should only consider disabling this
|
||||
option for embedded systems with no facilities for reporting errors.
|
||||
Just say Y.
|
||||
|
||||
config BASE_FULL
|
||||
default y
|
||||
bool "Enable full-sized data structures for core" if EMBEDDED
|
||||
|
|
|
|||
Loading…
Reference in a new issue