aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-10-22 08:04:30 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-22 14:40:21 -0400
commitf80a3bb252cbb0959259328b9ab02b019123ed05 (patch)
treebfc9cf861aa4ff025dbdf524c1b70700354ff7c1 /arch/arm
parent085eefb5948bb43020792f31406da2ee2ef4e924 (diff)
[ARM] 5318/1: Swap the PRRR and NMRR values in proc-v7.S
A typo caused these values to be swapped leading to incorrect memory type attributes. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mm/proc-v7.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index 34e424041927..07f82db70945 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -180,8 +180,8 @@ __v7_setup:
180 mov r10, #0x1f @ domains 0, 1 = manager 180 mov r10, #0x1f @ domains 0, 1 = manager
181 mcr p15, 0, r10, c3, c0, 0 @ load domain access register 181 mcr p15, 0, r10, c3, c0, 0 @ load domain access register
182#endif 182#endif
183 ldr r5, =0x40e040e0 183 ldr r5, =0xff0aa1a8
184 ldr r6, =0xff0aa1a8 184 ldr r6, =0x40e040e0
185 mcr p15, 0, r5, c10, c2, 0 @ write PRRR 185 mcr p15, 0, r5, c10, c2, 0 @ write PRRR
186 mcr p15, 0, r6, c10, c2, 1 @ write NMRR 186 mcr p15, 0, r6, c10, c2, 1 @ write NMRR
187 adr r5, v7_crval 187 adr r5, v7_crval