diff options
author | Wolfgang Denk <wd@denx.de> | 2007-09-15 18:48:41 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-09-15 18:48:41 (GMT) |
commit | 1218abf1b5817a39a82399b4b928b00750575bda (patch) | |
tree | eea14f9a563edd02bbc62b8aa493efd270044485 /cpu/mpc86xx/traps.c | |
parent | 66b3f24d665be678a9dbb125b1e84185400f63b5 (diff) | |
download | u-boot-1218abf1b5817a39a82399b4b928b00750575bda.tar.xz |
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc86xx/traps.c')
-rw-r--r-- | cpu/mpc86xx/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc86xx/traps.c b/cpu/mpc86xx/traps.c index c84bfbf..04c2e13 100644 --- a/cpu/mpc86xx/traps.c +++ b/cpu/mpc86xx/traps.c @@ -34,6 +34,8 @@ #include <command.h> #include <asm/processor.h> +DECLARE_GLOBAL_DATA_PTR; + #if defined(CONFIG_CMD_KGDB) int (*debugger_exception_handler)(struct pt_regs *) = 0; #endif @@ -50,8 +52,6 @@ extern unsigned long search_exception_table(unsigned long); void print_backtrace(unsigned long *sp) { - DECLARE_GLOBAL_DATA_PTR; - int cnt = 0; unsigned long i; |