• Keith Owens's avatar
    kallsyms: Clean up x86-64 special casing of in_gate_area() · 340241a9
    Keith Owens authored
    x86-64 has special case code for in_gate_area(), but it is not clean.
    
    * Replace CONFIG_ARCH_GATE_AREA with __HAVE_ARCH_GATE_AREA.
      ARCH_GATE_AREA is not a config option.
    
    * The definitions of get_gate_vma() and in_gate_area() are identical in
      include/asm-x86_64/page.h and include/linux/mm.h.  Fold the duplicate
      definitions into include/linux/mm.h.
    
    Does not affect kallsyms directly, this patch just creates a clean base
    for patch 2.
    Signed-off-by: default avatarKeith Owens <kaos@ocs.com.au>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    340241a9
memory.c 48 KB