projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89789eb
)
mpc8xx: Expose show_regs()
author
Tom Rini
<trini@konsulko.com>
Wed, 29 Jan 2020 16:07:19 +0000
(11:07 -0500)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc8xx/traps.c
b/arch/powerpc/cpu/mpc8xx/traps.c
index d2bbf3e9968640131072768f0edd5f97d7532844..899bcd86188a2779aacdf16f2a2a766632617101 100644
(file)
--- 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;