[PATCH 3/8] blackfin irq: update blackfin for new irq_desc

From: Mike Travis
Date: Mon Jan 12 2009 - 17:06:55 EST


Impact: cleanup, update to new cpumask API

Irq_desc.affinity and irq_desc.pending_mask are now cpumask_var_t's
so access to them should be using the new cpumask API.

Since CONFIG_CPUMASK_OFFSTACK is not likely to be enabled for the blackfin
architecture, double check that it is indeed not set, as we do not
allocate any variable-sized cpumask_var_t's.

Signed-off-by: Mike Travis <travis@xxxxxxx>
Cc: Bryan Wu <cooloney@xxxxxxxxxx>
---
arch/blackfin/kernel/irqchip.c | 5 +++++
1 file changed, 5 insertions(+)

--- linux-2.6-for-ingo.orig/arch/blackfin/kernel/irqchip.c
+++ linux-2.6-for-ingo/arch/blackfin/kernel/irqchip.c
@@ -69,6 +69,11 @@ static struct irq_desc bad_irq_desc = {
#endif
};

+#ifdef CONFIG_CPUMASK_OFFSTACK
+/* We are not allocating a variable-sized bad_irq_desc.affinity */
+#error "Blackfin architecture does not support CONFIG_CPUMASK_OFFSTACK."
+#endif
+
int show_interrupts(struct seq_file *p, void *v)
{
int i = *(loff_t *) v, j;

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/