mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
sysctl: Enable PARISC "unaligned-trap" to be used cross-arch
PARISC defines /proc/sys/kernel/unaligned-trap to runtime toggle unaligned access emulation. The exact mechanics of enablig/disabling are still arch specific, we can make the sysctl usable by other arches. Signed-off-by: Vineet Gupta <[email protected]> Acked-by: Helge Deller <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: Helge Deller <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Serge Hallyn <[email protected]>
This commit is contained in:
parent
4d86dfbbda
commit
bf14e3b979
3 changed files with 14 additions and 0 deletions
|
|
@ -1232,6 +1232,14 @@ config SYSCTL_EXCEPTION_TRACE
|
|||
help
|
||||
Enable support for /proc/sys/debug/exception-trace.
|
||||
|
||||
config SYSCTL_ARCH_UNALIGN_ALLOW
|
||||
bool
|
||||
help
|
||||
Enable support for /proc/sys/kernel/unaligned-trap
|
||||
Allows arches to define/use @unaligned_enabled to runtime toggle
|
||||
the unaligned access emulation.
|
||||
see arch/parisc/kernel/unaligned.c for reference
|
||||
|
||||
config KALLSYMS
|
||||
bool "Load all symbols for debugging/ksymoops" if EXPERT
|
||||
default y
|
||||
|
|
|
|||
Loading…
Reference in a new issue