[RFC PATCH v2 08/11] ARM64: mm: Swap PTE_FILE and PTE_PROT_NONE bits.
Steve Capper
steve.capper at linaro.org
Thu May 9 04:15:05 EDT 2013
On Wed, May 08, 2013 at 12:17:35PM -0400, Christopher Covington wrote:
> Hi Steve,
>
> On 05/08/2013 05:52 AM, Steve Capper wrote:
[...]
>
> > diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
>
[...]
>
> > @@ -306,8 +306,8 @@ extern pgd_t idmap_pg_dir[PTRS_PER_PGD];
> >
> > /*
> > * Encode and decode a file entry:
> > - * bits 0-1: present (must be zero)
> > - * bit 2: PTE_FILE
> > + * bits 0 & 2: present (must be zero)
>
> Consider using punctuation like "bits 0, 2" here to disambiguate from the
> binary and operation.
>
Hi Christopher,
Thanks, I now have:
bits 0, 2: present (must both be zero)
Cheers,
--
Steve
More information about the linux-arm-kernel
mailing list