This patch fixes a debug compilation error for PPC4xx platforms, all other architectures are not affected by this change. The 'handler' pointer was undefined. The fix is exercised and has effect only if DEBUG is defined.
Signed-off-by: Alessio Centazzo acpatin {AT} yahoo {DOT} com diff u-boot-2009.06/cpu/ppc4xx/uic.c.orig u-boot-2009.06/cpu/ppc4xx/uic.c --- u-boot-2009.06/cpu/ppc4xx/uic.c.orig 2009-06-14 12:30:39.000000000 -0700 +++ u-boot-2009.06/cpu/ppc4xx/uic.c 2009-06-16 23:04:14.000000000 -0700 @@ -164,7 +164,7 @@ else if (vec >= 96) mtdcr(uic3er, mfdcr(uic3er) | UIC_MASK(vec)); - debug("Install interrupt for vector %d ==> %p\n", vec, handler); + debug("Enable interrupt for vector %d\n", vec); } void pic_irq_disable(unsigned int vec) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot