mpc8xx: Expose show_regs()
authorTom Rini <trini@konsulko.com>
Wed, 29 Jan 2020 16:07:19 +0000 (11:07 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 7 Feb 2020 18:59:58 +0000 (13:59 -0500)
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>
arch/powerpc/cpu/mpc8xx/traps.c

index d2bbf3e..899bcd8 100644 (file)
@@ -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;