aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-09-30 01:02:42 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-09-30 01:02:42 -0400
commit8406638ab041b3f1ab3d49d6fe1989e25f3ffcad (patch)
treec0a39c757ac337c26d513576516a597084963f15 /arch/sh
parentd5ce010c0327dee0a08a791827156ba84c544eea (diff)
sh: Disable unaligned kernel access printks by default.
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>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/traps_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c
index 69bb1652ecc..e0b5e4b5acc 100644
--- a/arch/sh/kernel/traps_32.c
+++ b/arch/sh/kernel/traps_32.c
@@ -54,8 +54,8 @@ static unsigned long se_multi;
54/* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not 54/* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not
55 valid! */ 55 valid! */
56static int se_usermode = 3; 56static int se_usermode = 3;
57/* 0: no warning 1: print a warning message */ 57/* 0: no warning 1: print a warning message, disabled by default */
58static int se_kernmode_warn = 1; 58static int se_kernmode_warn;
59 59
60#ifdef CONFIG_PROC_FS 60#ifdef CONFIG_PROC_FS
61static const char *se_usermode_action[] = { 61static const char *se_usermode_action[] = {