diff options
Diffstat (limited to 'cpu/mpc83xx/traps.c')
| -rw-r--r-- | cpu/mpc83xx/traps.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/cpu/mpc83xx/traps.c b/cpu/mpc83xx/traps.c index c7a56386e..44345afbf 100644 --- a/cpu/mpc83xx/traps.c +++ b/cpu/mpc83xx/traps.c @@ -40,6 +40,8 @@  #include <asm/processor.h>  #include <asm/mpc8349_pci.h> +DECLARE_GLOBAL_DATA_PTR; +  /* Returns 0 if exception not found and fixup otherwise.  */  extern unsigned long search_exception_table(unsigned long); @@ -52,7 +54,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; |