[PATCH 1/2] arm64: introduce separated bits for mm_context_t flags
Catalin Marinas
catalin.marinas at arm.com
Tue Aug 8 06:51:17 PDT 2017
On Sat, Aug 05, 2017 at 05:40:21PM +0300, Yury Norov wrote:
> diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h
> index 5468c834b072..2c57b06b2883 100644
> --- a/arch/arm64/include/asm/mmu.h
> +++ b/arch/arm64/include/asm/mmu.h
> @@ -16,6 +16,8 @@
> #ifndef __ASM_MMU_H
> #define __ASM_MMU_H
>
> +#define MMCF_AARCH32 0x0 /* MM hosts AArch32 executables */
Nitpick: drop 0x since it's a bit number not a flag value. We could,
however, make it a value and just stop using (set|clear)_bit functions.
There is no atomicity issue here.
--
Catalin
More information about the linux-arm-kernel
mailing list