summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/nmi_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/nmi_debug.c')
-rw-r--r--arch/sh/kernel/nmi_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/nmi_debug.c b/arch/sh/kernel/nmi_debug.c
index 730d928f0..d37b54f9c 100644
--- a/arch/sh/kernel/nmi_debug.c
+++ b/arch/sh/kernel/nmi_debug.c
@@ -52,7 +52,7 @@ static int __init nmi_debug_setup(char *str)
register_die_notifier(&nmi_debug_nb);
if (*str != '=')
- return 0;
+ return 1;
for (p = str + 1; *p; p = sep + 1) {
sep = strchr(p, ',');
@@ -73,6 +73,6 @@ static int __init nmi_debug_setup(char *str)
break;
}
- return 0;
+ return 1;
}
__setup("nmi_debug", nmi_debug_setup);