[PATCH 02/12] x86/compat: Make mmap_is_ia32() common compat

2015-06-22 Thread Brian Gerst
TIF_ADDR32 is set for both ia32 and x32 tasks, so change from CONFIG_IA32_EMULATION to CONFIG_COMPAT. Use config_enabled() to make the function more readable. Signed-off-by: Brian Gerst --- arch/x86/include/asm/elf.h | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

[PATCH 02/12] x86/compat: Make mmap_is_ia32() common compat

2015-06-22 Thread Brian Gerst
TIF_ADDR32 is set for both ia32 and x32 tasks, so change from CONFIG_IA32_EMULATION to CONFIG_COMPAT. Use config_enabled() to make the function more readable. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/include/asm/elf.h | 11 +++ 1 file changed, 3 insertions(+), 8