summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/interrupts.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2005-08-02 13:53:07 -0500
committerJon Loeliger <jdl@freescale.com>2005-08-02 13:53:07 -0500
commit4b1d95d96a39a71eddd088bb5e0e9e699035c9bf (patch)
tree57e2d52b0636c7299992e869fa0b0ee4da7ca4d2 /cpu/ppc4xx/interrupts.c
parentde1d0a69956a63cea6a62043ae5d5afb584efe93 (diff)
parent095b8a3798f1c6cd618092899e783dc2ee0d23f5 (diff)
downloadu-boot-imx-4b1d95d96a39a71eddd088bb5e0e9e699035c9bf.zip
u-boot-imx-4b1d95d96a39a71eddd088bb5e0e9e699035c9bf.tar.gz
u-boot-imx-4b1d95d96a39a71eddd088bb5e0e9e699035c9bf.tar.bz2
Merge with rsync://git-user@source.denx.net/git/u-boot.git
Diffstat (limited to 'cpu/ppc4xx/interrupts.c')
-rw-r--r--cpu/ppc4xx/interrupts.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/ppc4xx/interrupts.c b/cpu/ppc4xx/interrupts.c
index 90899dd..c0e51f9 100644
--- a/cpu/ppc4xx/interrupts.c
+++ b/cpu/ppc4xx/interrupts.c
@@ -430,7 +430,10 @@ void irq_install_handler (int vec, interrupt_handler_t * handler, void *arg)
#endif /* CONFIG_440_GX */
#endif /* CONFIG_440 */
- if (irqa[i].handler != NULL) {
+ /*
+ * print warning when replacing with a different irq vector
+ */
+ if ((irqa[i].handler != NULL) && (irqa[i].handler != handler)) {
printf ("Interrupt vector %d: handler 0x%x replacing 0x%x\n",
vec, (uint) handler, (uint) irqa[i].handler);
}