Преглед изворни кода

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>
Alessio Centazzo пре 16 година
родитељ
комит
04ddae915f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      cpu/ppc4xx/uic.c

+ 1 - 1
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)