]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: introduce mm context flag to keep 32 bit task information
authorPratyush Anand <panand@redhat.com>
Wed, 2 Nov 2016 09:10:45 +0000 (14:40 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 7 Nov 2016 18:15:21 +0000 (18:15 +0000)
commitaa37ce12338b4db7329c539a0617d57e8da8cfd0
tree50e79c6f7ebc74763a284ca35b3275547de6a12e
parent55fd334bf222211af307b8d0aa140417f5eb04ac
arm64: introduce mm context flag to keep 32 bit task information

We need to decide in some cases like uprobe instruction analysis that
whether the current mm context belongs to a 32 bit task or 64 bit.

This patch has introduced an unsigned flag variable in mm_context_t.
Currently, we set and clear TIF_32BIT depending on the condition that
whether an elf binary load sets personality for 32 bit or 64 bit
respectively.

Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/elf.h
arch/arm64/include/asm/mmu.h