aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini2020-01-29 11:07:19 -0500
committerTom Rini2020-02-07 13:59:58 -0500
commit3f3c153e330d2928cf49c85e94380010607e0a50 (patch)
tree41551db7960c297f840323c79ab18c5dae2f31b6
parent89789ebd7109c589329a49354e1ee02cb4b28cb3 (diff)
mpc8xx: Expose show_regs()
To match the other PowerPC platforms the function show_regs() must not be marked static but instead be an exposed global function. Cc: Christophe Leroy <christophe.leroy@c-s.fr> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Christophe Leroy <christophe.leroy@c-s.fr>
-rw-r--r--arch/powerpc/cpu/mpc8xx/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/traps.c b/arch/powerpc/cpu/mpc8xx/traps.c
index d2bbf3e9968..899bcd86188 100644
--- a/arch/powerpc/cpu/mpc8xx/traps.c
+++ b/arch/powerpc/cpu/mpc8xx/traps.c
@@ -51,7 +51,7 @@ static void print_backtrace(unsigned long *sp)
printf("\n");
}
-static void show_regs(struct pt_regs *regs)
+void show_regs(struct pt_regs *regs)
{
int i;