diff options
author | Alessio Centazzo <centazzo@gmail.com> | 2009-07-01 22:20:51 -0700 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-07-08 10:59:07 +0200 |
commit | 04ddae915f295dee301f15c32100533a48e3b433 (patch) | |
tree | a1f6bb12597c9b712688cc47f42447c60cb1e3f4 /cpu/ppc4xx/uic.c | |
parent | 48e2b535a0dd3a7b77b674130934a24f9de6f48d (diff) | |
download | u-boot-imx-04ddae915f295dee301f15c32100533a48e3b433.zip u-boot-imx-04ddae915f295dee301f15c32100533a48e3b433.tar.gz u-boot-imx-04ddae915f295dee301f15c32100533a48e3b433.tar.bz2 |
ppc4xx: Fixed PPC4xx debug compilation error in uic.c
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>
Diffstat (limited to 'cpu/ppc4xx/uic.c')
-rw-r--r-- | cpu/ppc4xx/uic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/uic.c b/cpu/ppc4xx/uic.c index a95d1cb..d298b31 100644 --- a/cpu/ppc4xx/uic.c +++ b/cpu/ppc4xx/uic.c @@ -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) |