]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - kernel/sysctl.c
sysctl: Enable PARISC "unaligned-trap" to be used cross-arch
authorVineet Gupta <vgupta@synopsys.com>
Fri, 18 Jan 2013 09:42:24 +0000 (15:12 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 15 Feb 2013 17:46:05 +0000 (23:16 +0530)
commitbf14e3b979a01cd7298d631736f965fe83c6e2bc
tree8440a0641556332763615edc881f81d1da6f2d37
parent4d86dfbbda09b3c67bcaeb370f22a2cc7f39205b
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 <vgupta@synopsys.com>
Acked-by: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
arch/parisc/Kconfig
init/Kconfig
kernel/sysctl.c