summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xics/ics-opal.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2013-05-13 02:57:49 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-14 08:00:18 +0200
commitdcb615aef988b57deef3d9b4557ff20f681a82b0 (patch)
tree9e928e4082b9a71b120a425834d9d76dc8bd7e87 /arch/powerpc/sysdev/xics/ics-opal.c
parentpowerpc: Provide __bswapdi2 (diff)
downloadlinux-dcb615aef988b57deef3d9b4557ff20f681a82b0.tar.xz
linux-dcb615aef988b57deef3d9b4557ff20f681a82b0.zip
powerpc: Fix irq_set_affinity() return values
Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/xics/ics-opal.c')
-rw-r--r--arch/powerpc/sysdev/xics/ics-opal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xics/ics-opal.c b/arch/powerpc/sysdev/xics/ics-opal.c
index f7e8609df0d5..39d72212655e 100644
--- a/arch/powerpc/sysdev/xics/ics-opal.c
+++ b/arch/powerpc/sysdev/xics/ics-opal.c
@@ -148,7 +148,7 @@ static int ics_opal_set_affinity(struct irq_data *d,
__func__, d->irq, hw_irq, server, rc);
return -1;
}
- return 0;
+ return IRQ_SET_MASK_OK;
}
static struct irq_chip ics_opal_irq_chip = {