]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] dump stack on kernel unaligned warnings
authorDoug Chapman <doug.chapman@hp.com>
Thu, 15 Jan 2009 18:38:56 +0000 (10:38 -0800)
committerTony Luck <tony.luck@intel.com>
Thu, 15 Jan 2009 18:38:56 +0000 (10:38 -0800)
commitb3cf8197fd6b9bc79c48f6ec86720c749d8a9e1d
treed8148e145e9252b76b12b8d466ff3ecbfa4222ea
parent662780d9a0e2928dfaa146a8c74623b901b313ac
[IA64] dump stack on kernel unaligned warnings

Often the cause of kernel unaligned access warnings is not
obvious from just the ip displayed in the warning.  This adds
the option via proc to dump the stack in addition to the warning.
The default is off (just display the 1 line warning).  To enable
the stack to be shown: echo 1 > /proc/sys/kernel/unaligned-dump-stack

Signed-off-by: Doug Chapman <doug.chapman@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unaligned.c
kernel/sysctl.c