summaryrefslogtreecommitdiffstats
path: root/arch/sparc/vdso/vma.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/sparc/vdso/vma.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/sparc/vdso/vma.c b/arch/sparc/vdso/vma.c
index cc19e09b0..b073153c7 100644
--- a/arch/sparc/vdso/vma.c
+++ b/arch/sparc/vdso/vma.c
@@ -449,9 +449,8 @@ static __init int vdso_setup(char *s)
unsigned long val;
err = kstrtoul(s, 10, &val);
- if (err)
- return err;
- vdso_enabled = val;
- return 0;
+ if (!err)
+ vdso_enabled = val;
+ return 1;
}
__setup("vdso=", vdso_setup);