aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/intc.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-03-06 03:56:58 -0500
committerPaul Mundt <lethal@linux-sh.org>2009-03-06 03:56:58 -0500
commitf033599aac86f4eb08a1b6b851568a2587e8c6ad (patch)
treef0e29f2e4096d098e4bd25acccd1cfe031b685de /drivers/sh/intc.c
parent075901af281b2afb47b1423ac488e713844db396 (diff)
sh: intc: Make missing unique IRQ mask warning more verbose.
This includes the IRQ number in addition to the vector, as not all platforms wrap in with INTC_VECT(). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/intc.c')
-rw-r--r--drivers/sh/intc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c
index d7b8959d9d92..2269fbcaa182 100644
--- a/drivers/sh/intc.c
+++ b/drivers/sh/intc.c
@@ -569,8 +569,8 @@ static void __init intc_register_irq(struct intc_desc *desc,
569 primary = 1; 569 primary = 1;
570 570
571 if (!data[0] && !data[1]) 571 if (!data[0] && !data[1])
572 pr_warning("intc: missing unique irq mask for 0x%04x\n", 572 pr_warning("intc: missing unique irq mask for "
573 irq2evt(irq)); 573 "irq %d (vect 0x%04x)\n", irq, irq2evt(irq));
574 574
575 data[0] = data[0] ? data[0] : intc_mask_data(desc, d, enum_id, 1); 575 data[0] = data[0] ? data[0] : intc_mask_data(desc, d, enum_id, 1);
576 data[1] = data[1] ? data[1] : intc_prio_data(desc, d, enum_id, 1); 576 data[1] = data[1] ? data[1] : intc_prio_data(desc, d, enum_id, 1);