ARM: entry: data abort: avoid using r2 in abort helpers
[deliverable/linux.git] / arch / arm / mm / abort-ev7.S
index 6cb51431a85931c72a59126ae53e7ff7820ad306..6f98b3a17ac73d8e41fa20136a91c9357ea4f13d 100644 (file)
@@ -41,13 +41,13 @@ ENTRY(v7_early_abort)
 
        mcr     p15, 0, r0, c7, c8, 0           @ Retranslate FAR
        isb
-       mrc     p15, 0, r2, c7, c4, 0           @ Read the PAR
-       and     r3, r2, #0x7b                   @ On translation fault
+       mrc     p15, 0, ip, c7, c4, 0           @ Read the PAR
+       and     r3, ip, #0x7b                   @ On translation fault
        cmp     r3, #0x0b
        movne   pc, lr
        bic     r1, r1, #0xf                    @ Fix up FSR FS[5:0]
-       and     r2, r2, #0x7e
-       orr     r1, r1, r2, LSR #1
+       and     ip, ip, #0x7e
+       orr     r1, r1, ip, LSR #1
 #endif
 
        mov     pc, lr
This page took 0.026511 seconds and 5 git commands to generate.