[IA64] sysctl option to silence unaligned trap warnings
authorJes Sorensen <jes@sgi.com>
Tue, 28 Feb 2006 17:42:23 +0000 (09:42 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Feb 2006 17:42:23 +0000 (09:42 -0800)
commitd2b176ed878d4d5fcc0bd35656dfd373f3702af9
treef5febd7d77fc374ddef9cbe549732bcb3b125c8b
parentc8c1635faa7c97329111ce32b927d37306521822
[IA64] sysctl option to silence unaligned trap warnings

Allow sysadmin to disable all warnings about userland apps
making unaligned accesses by using:
 # echo 1 > /proc/sys/kernel/ignore-unaligned-usertrap
Rather than having to use prctl on a process by process basis.

Default behaivour leaves the warnings enabled.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unaligned.c
include/linux/sysctl.h
kernel/sysctl.c