From: Catalin Marinas Date: Wed, 22 Oct 2008 12:04:30 +0000 (+0100) Subject: [ARM] 5318/1: Swap the PRRR and NMRR values in proc-v7.S X-Git-Tag: v2.6.28-rc1~7^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f80a3bb252cbb0959259328b9ab02b019123ed05;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Russell King --- diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index 34e42404192..07f82db7094 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S @@ -180,8 +180,8 @@ __v7_setup: mov r10, #0x1f @ domains 0, 1 = manager mcr p15, 0, r10, c3, c0, 0 @ load domain access register #endif - ldr r5, =0x40e040e0 - ldr r6, =0xff0aa1a8 + ldr r5, =0xff0aa1a8 + ldr r6, =0x40e040e0 mcr p15, 0, r5, c10, c2, 0 @ write PRRR mcr p15, 0, r6, c10, c2, 1 @ write NMRR adr r5, v7_crval