diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-03-20 13:00:11 +0300 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-03-31 06:51:35 +0400 |
commit | 2d6d79bbe589b74c0a6612fc88e4d150f8dfa1e1 (patch) | |
tree | 96d0f2670c5f2e329df7665a558e1c2cd5627eea /drivers/parisc | |
parent | c48faf86b0d59cc43ff4eede59c4af7afbd7c0ff (diff) | |
download | linux-2d6d79bbe589b74c0a6612fc88e4d150f8dfa1e1.tar.xz |
parisc: iosapic: fix build breakage
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>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/parisc')
-rw-r--r-- | 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 501aaf1f253f..73348c4047e9 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); |