]> 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 2d5179c67cec727f40476e2f9e75fbb9eeeb8d8c..e236f98f7ec5d5460fa5eda7d97155bfb712df61 100644 (file)
@@ -4,7 +4,6 @@
  *  Copyright (C) 1991, 1992  Linus Torvalds
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/utsname.h>
@@ -1984,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;
                        }