Thread (26 messages) 26 messages, 5 authors, 2013-05-17

[RFC PATCH v2 08/11] ARM64: mm: Swap PTE_FILE and PTE_PROT_NONE bits.

From: Steve Capper <hidden>
Date: 2013-05-09 08:15:13
Also in: linux-arch, linux-mm

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:
 
 [...]
quoted
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
 [...]
quoted
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help