]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: Fixed PPC4xx debug compilation error in uic.c
authorAlessio Centazzo <centazzo@gmail.com>
Thu, 2 Jul 2009 05:20:51 +0000 (22:20 -0700)
committerStefan Roese <sr@denx.de>
Wed, 8 Jul 2009 08:59:07 +0000 (10:59 +0200)
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@yahoo.com
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/uic.c

index a95d1cb17d9ef34d37db7ca2c7f388025e29b416..d298b312ceed7963e3a5125645d538374e938a49 100644 (file)
@@ -164,7 +164,7 @@ void pic_irq_enable(unsigned int vec)
        else if (vec >= 96)
                mtdcr(uic3er, mfdcr(uic3er) | UIC_MASK(vec));
 
-       debug("Install interrupt for vector %d ==> %p\n", vec, handler);
+       debug("Install interrupt vector %d\n", vec);
 }
 
 void pic_irq_disable(unsigned int vec)