summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/mm/alignment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/mm/alignment.c b/arch/sh/mm/alignment.c
index 2da8088..00fb9e3 100644
--- a/arch/sh/mm/alignment.c
+++ b/arch/sh/mm/alignment.c
@@ -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++;
OpenPOWER on IntegriCloud