[ARM] Introduce new PTE memory type bits
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 6 Sep 2008 19:04:59 +0000 (20:04 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 13 Nov 2011 15:35:11 +0000 (17:35 +0200)
commit97a5fa5b0cc48c229e56ac1fd010024019f8fbf0
tree69eacfa6ed4017435fe86271b28ee1264b2ef7a1
parent66537e7ed36b30d506ca47109a93dd2f33622f14
[ARM] Introduce new PTE memory type bits

Provide L_PTE_MT_xxx definitions to describe the memory types that we
use in Linux/ARM.  These definitions are carefully picked such that:

1. their LSBs match what is required for pre-ARMv6 CPUs.
2. they all have a unique encoding, including after modification
   by build_mem_type_table() (the result being that some have more
   than one combination.)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable.h
arch/arm/mm/copypage-v4mc.c
arch/arm/mm/copypage-xscale.c
arch/arm/mm/fault-armv.c
arch/arm/mm/mmu.c