aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-29 11:07:19 -0500
committerTom Rini <trini@konsulko.com>2020-02-07 13:59:58 -0500
commit3f3c153e330d2928cf49c85e94380010607e0a50 (patch)
tree41551db7960c297f840323c79ab18c5dae2f31b6 /arch
parent89789ebd7109c589329a49354e1ee02cb4b28cb3 (diff)
downloadu-boot-3f3c153e330d2928cf49c85e94380010607e0a50.zip
u-boot-3f3c153e330d2928cf49c85e94380010607e0a50.tar.gz
u-boot-3f3c153e330d2928cf49c85e94380010607e0a50.tar.bz2
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>
Diffstat (limited to 'arch')
-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 d2bbf3e..899bcd8 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;