]> git.sur5r.net Git - u-boot/blobdiff - cpu/mpc85xx/traps.c
[new uImage] Move kernel data find code to get_kernel() routine
[u-boot] / cpu / mpc85xx / traps.c
index efc80c7aee75ec35b1737dac47eeb57bd93bdc85..2381fb0654c09c4752b12c155a69d315a6a824e6 100644 (file)
@@ -288,8 +288,8 @@ UnknownException(struct pt_regs *regs)
 void
 ExtIntException(struct pt_regs *regs)
 {
-       volatile immap_t *immap = (immap_t *)CFG_IMMR;
-       volatile ccsr_pic_t *pic = &immap->im_pic;
+       volatile ccsr_pic_t *pic = (void *)(CFG_MPC85xx_PIC_ADDR);
+
        uint vect;
 
 #if defined(CONFIG_CMD_KGDB)