aboutsummaryrefslogtreecommitdiffstats
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 11777867c6f5..a212b645b4cf 100644
--- a/arch/sh/kernel/nmi_debug.c
+++ b/arch/sh/kernel/nmi_debug.c
@@ -49,7 +49,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, ',');
@@ -70,6 +70,6 @@ static int __init nmi_debug_setup(char *str)
break;
}
- return 0;
+ return 1;
}
__setup("nmi_debug", nmi_debug_setup);