diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-06 16:07:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-01 11:41:00 -0400 |
commit | 639b0ae7f5bcd645862a9c3ea2d4321475c71d7a (patch) | |
tree | 34e26970f8c907c9027037fc9ae5a9ab7cd2d1a2 /arch/arm/include | |
parent | 9e8b5199a753a2583a8ef8360e6428304a242283 (diff) |
[ARM] Convert ARMv6 and ARMv7 to use new memory types
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/pgtable.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index 8f039a08b00c..dfeff814a942 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h | |||
@@ -175,8 +175,6 @@ extern void __pgd_error(const char *file, int line, unsigned long val); | |||
175 | /* | 175 | /* |
176 | * These are the memory types, defined to be compatible with | 176 | * These are the memory types, defined to be compatible with |
177 | * pre-ARMv6 CPUs cacheable and bufferable bits: XXCB | 177 | * pre-ARMv6 CPUs cacheable and bufferable bits: XXCB |
178 | * (note: build_mem_type_table modifies these bits | ||
179 | * to work with our existing proc-*.S setup.) | ||
180 | */ | 178 | */ |
181 | #define L_PTE_MT_UNCACHED (0x00 << 2) /* 0000 */ | 179 | #define L_PTE_MT_UNCACHED (0x00 << 2) /* 0000 */ |
182 | #define L_PTE_MT_BUFFERABLE (0x01 << 2) /* 0001 */ | 180 | #define L_PTE_MT_BUFFERABLE (0x01 << 2) /* 0001 */ |
@@ -184,12 +182,10 @@ extern void __pgd_error(const char *file, int line, unsigned long val); | |||
184 | #define L_PTE_MT_WRITEBACK (0x03 << 2) /* 0011 */ | 182 | #define L_PTE_MT_WRITEBACK (0x03 << 2) /* 0011 */ |
185 | #define L_PTE_MT_MINICACHE (0x06 << 2) /* 0110 (sa1100, xscale) */ | 183 | #define L_PTE_MT_MINICACHE (0x06 << 2) /* 0110 (sa1100, xscale) */ |
186 | #define L_PTE_MT_WRITEALLOC (0x07 << 2) /* 0111 */ | 184 | #define L_PTE_MT_WRITEALLOC (0x07 << 2) /* 0111 */ |
187 | #define L_PTE_MT_DEV_SHARED (0x04 << 2) /* 0100 (pre-v6) */ | 185 | #define L_PTE_MT_DEV_SHARED (0x04 << 2) /* 0100 */ |
188 | #define L_PTE_MT_DEV_SHARED2 (0x05 << 2) /* 0101 (v6) */ | ||
189 | #define L_PTE_MT_DEV_NONSHARED (0x0c << 2) /* 1100 */ | 186 | #define L_PTE_MT_DEV_NONSHARED (0x0c << 2) /* 1100 */ |
190 | #define L_PTE_MT_DEV_IXP2000 (0x0d << 2) /* 1101 */ | 187 | #define L_PTE_MT_DEV_IXP2000 (0x0d << 2) /* 1101 */ |
191 | #define L_PTE_MT_DEV_WC (0x09 << 2) /* 1001 (pre-v6) */ | 188 | #define L_PTE_MT_DEV_WC (0x09 << 2) /* 1001 */ |
192 | #define L_PTE_MT_DEV_WC2 (0x08 << 2) /* 1000 (v6) */ | ||
193 | #define L_PTE_MT_DEV_CACHED (0x0b << 2) /* 1011 */ | 189 | #define L_PTE_MT_DEV_CACHED (0x0b << 2) /* 1011 */ |
194 | #define L_PTE_MT_MASK (0x0f << 2) | 190 | #define L_PTE_MT_MASK (0x0f << 2) |
195 | 191 | ||