[POWERPC] mpic: set IPIs to be per-CPU

This patch changes the MPIC IPIs to be per-CPU to avoid getting a
warning ("Cannot set affinity for irq 251") when taking a CPU
offline via sysfs or during suspend.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Johannes Berg 2007-02-12 16:20:18 +01:00 коммит произвёл Paul Mackerras
Родитель 0e8266437c
Коммит 087d7ecd52
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1370,7 +1370,7 @@ void mpic_request_ipis(void)
printk(KERN_ERR "Failed to map IPI %d\n", i); printk(KERN_ERR "Failed to map IPI %d\n", i);
break; break;
} }
request_irq(vipi, mpic_ipi_action, IRQF_DISABLED, request_irq(vipi, mpic_ipi_action, IRQF_DISABLED|IRQF_PERCPU,
ipi_names[i], mpic); ipi_names[i], mpic);
} }
} }