]> Pileus Git - ~andy/linux/blobdiff - fs/binfmt_elf_fdpic.c
ipmr: advertise new mfc entries via rtnl
[~andy/linux] / fs / binfmt_elf_fdpic.c
index 08d812b3228262650473fc4ef0599a47cc898f65..a46049154107f549eaf3c987cab594db730116f4 100644 (file)
@@ -39,7 +39,6 @@
 #include <asm/uaccess.h>
 #include <asm/param.h>
 #include <asm/pgalloc.h>
-#include <asm/exec.h>
 
 typedef char *elf_caddr_t;
 
@@ -1205,7 +1204,7 @@ static int maydump(struct vm_area_struct *vma, unsigned long mm_flags)
        int dump_ok;
 
        /* Do not dump I/O mapped devices or special mappings */
-       if (vma->vm_flags & (VM_IO | VM_RESERVED)) {
+       if (vma->vm_flags & VM_IO) {
                kdcore("%08lx: %08lx: no (IO)", vma->vm_start, vma->vm_flags);
                return 0;
        }