Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1706586 > unrolled thread

Re: [PATCH 1/2] arm64: introduce separated bits for mm_context_t flags

Started byCatalin Marinas <catalin.marinas@arm.com>
First post2017-08-08 16:00 +0200
Last post2017-08-08 16:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] arm64: introduce separated bits for mm_context_t  flags Catalin Marinas <catalin.marinas@arm.com> - 2017-08-08 16:00 +0200

#1706586 — Re: [PATCH 1/2] arm64: introduce separated bits for mm_context_t flags

FromCatalin Marinas <catalin.marinas@arm.com>
Date2017-08-08 16:00 +0200
SubjectRe: [PATCH 1/2] arm64: introduce separated bits for mm_context_t flags
Message-ID<ucdd8-Hf-13@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web