aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4d_irq.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-07-21 22:19:38 -0400
committerDavid S. Miller <davem@davemloft.net>2007-07-21 22:19:38 -0400
commit0f516813ce5aa78b30084cd0cc2e7e2ba1777168 (patch)
tree7fda885e9288f9204c4e5e1683943a48f4e8115b /arch/sparc/kernel/sun4d_irq.c
parent32231a66b4e1b649c346dc76b7d191f7e64a663a (diff)
[SPARC32]: Take enable_irq/disable_irq out of line.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/sun4d_irq.c')
-rw-r--r--arch/sparc/kernel/sun4d_irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/sun4d_irq.c b/arch/sparc/kernel/sun4d_irq.c
index 7a09186a432e..e0efab2a6bef 100644
--- a/arch/sparc/kernel/sun4d_irq.c
+++ b/arch/sparc/kernel/sun4d_irq.c
@@ -190,7 +190,7 @@ void sun4d_free_irq(unsigned int irq, void *dev_id)
190 kfree(action); 190 kfree(action);
191 191
192 if (!(*actionp)) 192 if (!(*actionp))
193 disable_irq(irq); 193 __disable_irq(irq);
194 194
195out_unlock: 195out_unlock:
196 spin_unlock_irqrestore(&irq_action_lock, flags); 196 spin_unlock_irqrestore(&irq_action_lock, flags);
@@ -348,7 +348,7 @@ int sun4d_request_irq(unsigned int irq,
348 else 348 else
349 *actionp = action; 349 *actionp = action;
350 350
351 enable_irq(irq); 351 __enable_irq(irq);
352 352
353 ret = 0; 353 ret = 0;
354out_unlock: 354out_unlock: