summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/ehv_pic.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2013-05-13 00:57:49 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-14 16:00:18 +1000
commitdcb615aef988b57deef3d9b4557ff20f681a82b0 (patch)
tree9e928e4082b9a71b120a425834d9d76dc8bd7e87 /arch/powerpc/sysdev/ehv_pic.c
parentca9d7aea5952c5e90bfe28ed738a7e962c0adad2 (diff)
downloadblackbird-op-linux-dcb615aef988b57deef3d9b4557ff20f681a82b0.tar.gz
blackbird-op-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/ehv_pic.c')
-rw-r--r--arch/powerpc/sysdev/ehv_pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/ehv_pic.c b/arch/powerpc/sysdev/ehv_pic.c
index 6e0e1005227f..9cd0e60716fe 100644
--- a/arch/powerpc/sysdev/ehv_pic.c
+++ b/arch/powerpc/sysdev/ehv_pic.c
@@ -81,7 +81,7 @@ int ehv_pic_set_affinity(struct irq_data *d, const struct cpumask *dest,
ev_int_set_config(src, config, prio, cpuid);
spin_unlock_irqrestore(&ehv_pic_lock, flags);
- return 0;
+ return IRQ_SET_MASK_OK;
}
static unsigned int ehv_pic_type_to_vecpri(unsigned int type)
OpenPOWER on IntegriCloud