aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-15 01:20:13 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:59 -0500
commitabd92b2d21899d42a60c3c1ac995768c76774608 (patch)
treee5d9e97b6fbf50a5be6791eb141f627c50a4a33f /arch
parent355db99860a1d77d77cd2fc66e2f5ab58f3e0995 (diff)
[SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c
index 72e626b54ba5..c786d2549bce 100644
--- a/arch/sparc64/kernel/irq.c
+++ b/arch/sparc64/kernel/irq.c
@@ -160,7 +160,7 @@ void enable_irq(unsigned int irq)
160 if (err != HV_EOK) 160 if (err != HV_EOK)
161 printk("sun4v_intr_settarget(%x,%d): err(%d)\n", 161 printk("sun4v_intr_settarget(%x,%d): err(%d)\n",
162 ino, cpu, err); 162 ino, cpu, err);
163 sun4v_intr_setenabled(ino, HV_INTR_ENABLED); 163 err = sun4v_intr_setenabled(ino, HV_INTR_ENABLED);
164 if (err != HV_EOK) 164 if (err != HV_EOK)
165 printk("sun4v_intr_setenabled(%x): err(%d)\n", 165 printk("sun4v_intr_setenabled(%x): err(%d)\n",
166 ino, err); 166 ino, err);