s390/uaccess: fix page table walk
[deliverable/linux.git] / fs / binfmt_elf.c
index a5702d74d2bdb6529d0dada48a6882329206854f..3939829f6c5cc67e7d0ca1e9518f1df834be5088 100644 (file)
@@ -322,6 +322,8 @@ create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
        return 0;
 }
 
+#ifndef elf_map
+
 static unsigned long elf_map(struct file *filep, unsigned long addr,
                struct elf_phdr *eppnt, int prot, int type,
                unsigned long total_size)
@@ -356,6 +358,8 @@ static unsigned long elf_map(struct file *filep, unsigned long addr,
        return(map_addr);
 }
 
+#endif /* !elf_map */
+
 static unsigned long total_mapping_size(struct elf_phdr *cmds, int nr)
 {
        int i, first_idx = -1, last_idx = -1;
This page took 0.026599 seconds and 5 git commands to generate.