Merge: Add support for AMCC 440SPe CPU based eval board (Yucca).
[oweals/u-boot.git] / cpu / ppc4xx / interrupts.c
index fdae846dcc17e3abd46752cb3ee341b9afbe9ab9..886f405156229a730667660a5ca848f9bcfeeaf8 100644 (file)
@@ -36,6 +36,8 @@
 #include <commproc.h>
 #include "vecnum.h"
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /****************************************************************************/
 
 /*
@@ -100,8 +102,6 @@ static __inline__ void set_evpr(unsigned long val)
 
 int interrupt_init_cpu (unsigned *decrementer_count)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        int vec;
        unsigned long val;