Skip to content
Snippets Groups Projects
Commit 04ddae91 authored by Alessio Centazzo's avatar Alessio Centazzo Committed by Stefan Roese
Browse files

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: default avatarAlessio Centazzo <acpatin@yahoo.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 48e2b535
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ void pic_irq_enable(unsigned int vec) ...@@ -164,7 +164,7 @@ void pic_irq_enable(unsigned int vec)
else if (vec >= 96) else if (vec >= 96)
mtdcr(uic3er, mfdcr(uic3er) | UIC_MASK(vec)); 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) void pic_irq_disable(unsigned int vec)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment