]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sys.c
ARM: OMAP: 2420 boot BUG(): failure to map SRAM
[linux-2.6-omap-h63xx.git] / kernel / sys.c
index dbb3b9c7ea64b17cf6aa7b96dcd007469e18f5d5..e236f98f7ec5d5460fa5eda7d97155bfb712df61 100644 (file)
@@ -1983,7 +1983,7 @@ asmlinkage long sys_prctl(int option, unsigned long arg2, unsigned long arg3,
                        error = current->mm->dumpable;
                        break;
                case PR_SET_DUMPABLE:
-                       if (arg2 < 0 || arg2 > 2) {
+                       if (arg2 < 0 || arg2 > 1) {
                                error = -EINVAL;
                                break;
                        }