diff options
author | Pratyush Anand <panand@redhat.com> | 2016-11-02 12:10:45 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-11-07 21:15:21 +0300 |
commit | 06beb72fbe23e348cc423dd9310c6fc02cd7c7da (patch) | |
tree | 50e79c6f7ebc74763a284ca35b3275547de6a12e /arch/arm64/include/asm/mmu.h | |
parent | 53d07e21854de064d9625853b8303357482b25b1 (diff) | |
download | linux-06beb72fbe23e348cc423dd9310c6fc02cd7c7da.tar.xz |
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>
Diffstat (limited to 'arch/arm64/include/asm/mmu.h')
-rw-r--r-- | arch/arm64/include/asm/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index a81454ad5455..47619411f0ff 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -19,6 +19,7 @@ typedef struct { atomic64_t id; void *vdso; + unsigned long flags; } mm_context_t; /* |