| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] When complaining about attempting to set the irq affinity to multiple cpus, |
| From: | Mark Mason <mmason@upwardaccess.com> |
| Date: | Mon, 21 Sep 2009 14:13:24 -0700 |
| Cc: | Mark Mason <mmason@upwardaccess.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
---
arch/mips/sibyte/bcm1480/irq.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c
index ba59839..fc87ea4 100644
--- a/arch/mips/sibyte/bcm1480/irq.c
+++ b/arch/mips/sibyte/bcm1480/irq.c
@@ -118,7 +118,11 @@ static int bcm1480_set_affinity(unsigned int irq, const
struct cpumask *mask)
unsigned int irq_dirty;
if (cpumask_weight(mask) != 1) {
- printk("attempted to set irq affinity for irq %d to multiple
CPUs\n", irq);
+ printk("attempted to set irq affinity for irq %d to multiple
CPUs:", irq);
+ /* Print the mask */
+ for_each_cpu(i, mask)
+ printk(" %d", i);
+ printk("\n");
return -1;
}
i = cpumask_first(mask);
--
1.6.0.2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] arch/mips: remove duplicate structure field initialization, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] cpmac: fix compilation errors against undeclared BUS_ID_SIZE, David Miller |
| Previous by Thread: | [PATCH] arch/mips: remove duplicate structure field initialization, Julia Lawall |
| Next by Thread: | Re: [PATCH] When complaining about attempting to set the irq affinity to multiple cpus,, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |