From: Alessio Centazzo Date: Tue, 30 Jun 2009 20:40:53 -0700 (PDT) Subject: [U-Boot] [PATCH] ppc4xx: Fixed PPC4xx debug compilation error in uic.c Message-ID: <9107.71940.qm@web51901.mail.re2.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.com --- 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..1a370b3 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("Enable interrupt vector %d\n", vec); } void pic_irq_disable(unsigned int vec) -- 1.6.0.4