Message ID | 20090320100011.GB26020@orion (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
2009/3/20 Alexander Beregalov <a.beregalov@gmail.com>: > drivers/parisc/iosapic.c:717: error: incompatible types in assignment > > irq_desc::affinity was changed from cpumask_t to cpumask_var_t in > 7f7ace0cda (cpumask: update irq_desc to use cpumask_var_t) > > Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Could anybody please comment it? Current -git does not build on parisc. > --- > > Â drivers/parisc/iosapic.c | Â Â 2 +- > Â 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c > index 501aaf1..73348c4 100644 > --- a/drivers/parisc/iosapic.c > +++ b/drivers/parisc/iosapic.c > @@ -714,7 +714,7 @@ static void iosapic_set_affinity_irq(unsigned int irq, > Â Â Â Â if (dest_cpu < 0) > Â Â Â Â Â Â Â Â return; > > - Â Â Â irq_desc[irq].affinity = cpumask_of_cpu(dest_cpu); > + Â Â Â cpumask_copy(irq_desc[irq].affinity, cpumask_of(dest_cpu)); > Â Â Â Â vi->txn_addr = txn_affinity_addr(irq, dest_cpu); > > Â Â Â Â spin_lock_irqsave(&iosapic_lock, flags); > -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c index 501aaf1..73348c4 100644 --- a/drivers/parisc/iosapic.c +++ b/drivers/parisc/iosapic.c @@ -714,7 +714,7 @@ static void iosapic_set_affinity_irq(unsigned int irq, if (dest_cpu < 0) return; - irq_desc[irq].affinity = cpumask_of_cpu(dest_cpu); + cpumask_copy(irq_desc[irq].affinity, cpumask_of(dest_cpu)); vi->txn_addr = txn_affinity_addr(irq, dest_cpu); spin_lock_irqsave(&iosapic_lock, flags);
drivers/parisc/iosapic.c:717: error: incompatible types in assignment irq_desc::affinity was changed from cpumask_t to cpumask_var_t in 7f7ace0cda (cpumask: update irq_desc to use cpumask_var_t) Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> --- drivers/parisc/iosapic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html