sh: Disable unaligned kernel access printks by default.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 30 Sep 2009 05:02:42 +0000 (14:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 30 Sep 2009 05:02:42 +0000 (14:02 +0900)
Certain networking and USB workloads generate floods of these accesses,
so just disable it by default (thereby restoring the old behaviour). The
option remains configurable from userspace, and can still be used as a
debugging aid.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c

index 69bb1652eccde2d512bd36772329ed33657ca1b3..e0b5e4b5accd99a37f0f4812c0faeecc2f3e481d 100644 (file)
@@ -54,8 +54,8 @@ static unsigned long se_multi;
 /* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not
    valid! */
 static int se_usermode = 3;
-/* 0: no warning 1: print a warning message */
-static int se_kernmode_warn = 1;
+/* 0: no warning 1: print a warning message, disabled by default */
+static int se_kernmode_warn;
 
 #ifdef CONFIG_PROC_FS
 static const char *se_usermode_action[] = {
This page took 0.025275 seconds and 5 git commands to generate.