Index: linux-2.6.git/include/asm-x86_64/proc_mm.h =================================================================== --- linux-2.6.git.orig/include/asm-x86_64/proc_mm.h +++ linux-2.6.git/include/asm-x86_64/proc_mm.h @@ -37,6 +37,8 @@ struct proc_mm_op32 { extern ssize_t write_proc_mm_emul(struct file *file, const char *buffer, size_t count, loff_t *ppos); +extern struct mm_struct *proc_mm_get_mm64(int fd); + extern long do64_mmap(struct mm_struct *mm, unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off);