Kaynağa Gözat

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>
Tom Rini 4 yıl önce
ebeveyn
işleme
3f3c153e33
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      arch/powerpc/cpu/mpc8xx/traps.c

+ 1 - 1
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;