diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-01-26 22:08:08 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-06 22:03:18 -0500 |
commit | 861be32ce7f1cf272a3f809e77213b83117a0bd2 (patch) | |
tree | 5765d9227e3dd87582b586d16755e843695f0dd8 /drivers | |
parent | 9cf9e19667f6ce01bd509a154157270069f836f9 (diff) |
[POWERPC] ps3: bind interrupt to cpu
Change the PS3 irq allocation routines to take an argument indicating which
cpu (processor thread) the interrupt should be serviced on.
The current system configuration favors device interrupts that are serviced
on cpu0, so that is used as the default.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ps3/vuart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ps3/vuart.c b/drivers/ps3/vuart.c index 6974f65bcda5..a72da8f651f8 100644 --- a/drivers/ps3/vuart.c +++ b/drivers/ps3/vuart.c | |||
@@ -783,8 +783,8 @@ static int ps3_vuart_probe(struct device *_dev) | |||
783 | 783 | ||
784 | vuart_private.in_use++; | 784 | vuart_private.in_use++; |
785 | if (vuart_private.in_use == 1) { | 785 | if (vuart_private.in_use == 1) { |
786 | result = ps3_alloc_vuart_irq((void*)&vuart_private.bmp.status, | 786 | result = ps3_alloc_vuart_irq(PS3_BINDING_CPU_ANY, |
787 | &vuart_private.virq); | 787 | (void*)&vuart_private.bmp.status, &vuart_private.virq); |
788 | 788 | ||
789 | if (result) { | 789 | if (result) { |
790 | dev_dbg(&dev->core, | 790 | dev_dbg(&dev->core, |