[PATCH 0/2] arm64: cleanup {COMPAT_,}SET_PERSONALITY

From: Yury Norov
Date: Sat Aug 05 2017 - 10:41:36 EST


This patchset is the result of discussion:
https://lkml.org/lkml/2017/7/31/454

First patch introduces MMCF flags for mm_context_t ->flags to separate it from
TIF ones. And second patch moves personality-related setup code from
SET_PERSONALITY() to the helper.

CC: Catalin Marinas <catalin.marinas@xxxxxxx>
CC: Pratyush Anand <panand@xxxxxxxxxx>

Yury Norov (2):
arm64: introduce separated bits for mm_context_t flags
arm64: cleanup {COMPAT_,}SET_PERSONALITY() macro

arch/arm64/include/asm/elf.h | 15 +++++++++------
arch/arm64/include/asm/mmu.h | 2 ++
arch/arm64/include/asm/thread_info.h | 3 +++
arch/arm64/kernel/probes/uprobes.c | 2 +-
arch/arm64/kernel/process.c | 17 +++++++++++++++++
5 files changed, 32 insertions(+), 7 deletions(-)

--
2.11.0