提交 7c1b2c68 编写于 作者: P Paul Mundt

sh: allow alignment fault mode to be configured at kernel boot.

Follow the ARM change, which is what our alignment helpers are based on
in the first place.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 16afc9fb
......@@ -27,6 +27,8 @@ static int se_usermode = UM_WARN | UM_FIXUP;
/* 0: no warning 1: print a warning message, disabled by default */
static int se_kernmode_warn;
core_param(alignment, se_usermode, int, 0600);
void inc_unaligned_byte_access(void)
{
se_half++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册