x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / mm / pabort-v6.S
blob9627646ce7832adc9cc8026e9a8dccd101f297fc
1 #include <linux/linkage.h>
2 #include <asm/assembler.h>
4 /*
5  * Function: v6_pabort
6  *
7  * Params  : r2 = pt_regs
8  *         : r4 = address of aborted instruction
9  *         : r5 = psr for parent context
10  *
11  * Returns : r4 - r11, r13 preserved
12  *
13  * Purpose : obtain information about current prefetch abort.
14  */
16         .align  5
17 ENTRY(v6_pabort)
18         mov     r0, r4
19         mrc     p15, 0, r1, c5, c0, 1           @ get IFSR
20         b       do_PrefetchAbort
21 ENDPROC(v6_pabort)