From: Tom Rini Date: Wed, 29 Jan 2020 16:07:19 +0000 (-0500) Subject: mpc8xx: Expose show_regs() X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=3f3c153e330d2928cf49c85e94380010607e0a50;p=u-boot.git 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 Cc: Wolfgang Denk Signed-off-by: Tom Rini Acked-by: Christophe Leroy --- diff --git a/arch/powerpc/cpu/mpc8xx/traps.c b/arch/powerpc/cpu/mpc8xx/traps.c index d2bbf3e996..899bcd8618 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;