ARM: entry: prefetch abort: tail-call the main prefetch abort handler
Tail-call the main C prefetch abort handler code from the per-CPU helper code. Also note that the helper function becomes ABI compliant in terms of the registers preserved. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -4,10 +4,11 @@
|
||||
/*
|
||||
* Function: legacy_pabort
|
||||
*
|
||||
* Params : r4 = address of aborted instruction
|
||||
* Params : r2 = pt_regs
|
||||
* : r4 = address of aborted instruction
|
||||
* : r5 = psr for parent context
|
||||
*
|
||||
* Returns : r0 = address of abort
|
||||
* : r1 = Simulated IFSR with section translation fault status
|
||||
* Returns : r4 - r11, r13 preserved
|
||||
*
|
||||
* Purpose : obtain information about current prefetch abort.
|
||||
*/
|
||||
@@ -16,5 +17,5 @@
|
||||
ENTRY(legacy_pabort)
|
||||
mov r0, r4
|
||||
mov r1, #5
|
||||
mov pc, lr
|
||||
b do_PrefetchAbort
|
||||
ENDPROC(legacy_pabort)
|
||||
|
Reference in New Issue
Block a user