Skip to content

Commit 0146977

Browse files
keesgregkh
authored andcommitted
ARM: 9351/1: fault: Add "cut here" line for prefetch aborts
commit 8f09b8b4fa58e99cbfd9a650b31d65cdbd8e4276 upstream. The common pattern in arm is to emit a "8<--- cut here ---" line for faults, but it was missing for do_PrefetchAbort(). Add it. Cc: Wang Kefeng <[email protected]> Cc: Ben Hutchings <[email protected]> Cc: [email protected] Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 756992b commit 0146977

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mm/fault.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ do_PrefetchAbort(unsigned long addr, unsigned int ifsr, struct pt_regs *regs)
559559
if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs))
560560
return;
561561

562+
pr_alert("8<--- cut here ---\n");
562563
pr_alert("Unhandled prefetch abort: %s (0x%03x) at 0x%08lx\n",
563564
inf->name, ifsr, addr);
564565

0 commit comments

Comments
 (0)