The patch titled um: set __HAVE_ARCH_GATE_AREA for x86_64 has been added to the -mm tree. Its filename is um-set-__have_arch_gate_area-for-x86_64.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: um: set __HAVE_ARCH_GATE_AREA for x86_64 From: Richard Weinberger <richard@xxxxxx> Implement arch_vma_name() and make get_gate_vma(), in_gate_area() and in_gate_area_no_mm() a nop. We need arch_vma_name() to support vDSO. Signed-off-by: Richard Weinberger <richard@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/um/sys-x86_64/Makefile | 2 +- arch/um/sys-x86_64/asm/elf.h | 1 + arch/um/sys-x86_64/mem.c | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) diff -puN arch/um/sys-x86_64/Makefile~um-set-__have_arch_gate_area-for-x86_64 arch/um/sys-x86_64/Makefile --- a/arch/um/sys-x86_64/Makefile~um-set-__have_arch_gate_area-for-x86_64 +++ a/arch/um/sys-x86_64/Makefile @@ -4,7 +4,7 @@ # Licensed under the GPL # -obj-y = bug.o bugs.o delay.o fault.o ldt.o ptrace.o ptrace_user.o \ +obj-y = bug.o bugs.o delay.o fault.o ldt.o ptrace.o ptrace_user.o mem.o \ setjmp.o signal.o stub.o stub_segv.o syscalls.o syscall_table.o \ sysrq.o ksyms.o tls.o diff -puN arch/um/sys-x86_64/asm/elf.h~um-set-__have_arch_gate_area-for-x86_64 arch/um/sys-x86_64/asm/elf.h --- a/arch/um/sys-x86_64/asm/elf.h~um-set-__have_arch_gate_area-for-x86_64 +++ a/arch/um/sys-x86_64/asm/elf.h @@ -119,4 +119,5 @@ extern long elf_aux_hwcap; #define SET_PERSONALITY(ex) do ; while(0) +#define __HAVE_ARCH_GATE_AREA 1 #endif diff -puN /dev/null arch/um/sys-x86_64/mem.c --- /dev/null +++ a/arch/um/sys-x86_64/mem.c @@ -0,0 +1,26 @@ +#include "linux/mm.h" +#include "asm/page.h" +#include "asm/mman.h" + +const char *arch_vma_name(struct vm_area_struct *vma) +{ + if (vma->vm_mm && vma->vm_start == um_vdso_addr) + return "[vdso]"; + + return NULL; +} + +struct vm_area_struct *get_gate_vma(struct mm_struct *mm) +{ + return NULL; +} + +int in_gate_area(struct mm_struct *mm, unsigned long addr) +{ + return 0; +} + +int in_gate_area_no_mm(unsigned long addr) +{ + return 0; +} _ Patches currently in -mm which might be from richard@xxxxxx are linux-next.patch um-clean-up-vm-flagsh.patch um-exec-remove-redundant-set_fsuser_ds.patch um-clean-up-delay-functions-v2.patch um-fix-_fortify_source=2-support-for-kernel-modules.patch um-add-netpoll-support.patch um-reinstate-kernel-version-in-generated-config.patch uml-drivers-net_userc-memory-leak-fix.patch uml-cow_userc-warning-corrections.patch uml-helperc-warning-corrections.patch uml-drivers-slip_userc-memory-leak-fix.patch uml-free-resources.patch um-disable-scan_elf_aux-on-x86_64.patch um-set-__have_arch_gate_area-for-i386.patch um-set-__have_arch_gate_area-for-x86_64.patch um-implement-a-x86_64-vdso.patch um-ajdust-size-of-pid_buf.patch um-remove-dead-code.patch fs-execc-use-build_bug_on-for-vm_stack_flags-vm_stack_incomplete_setup.patch exec-do-not-call-request_module-twice-from-search_binary_handler.patch exec-do-not-retry-load_binary-method-if-config_modules=n.patch gcov-disable-constructors-for-uml.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html