aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-malta/malta-int.c
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-30 19:16:45 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-30 19:16:45 -0400
commitada47b5fe13d89735805b566185f4885f5a3f750 (patch)
tree644b88f8a71896307d71438e9b3af49126ffb22b /arch/mips/mti-malta/malta-int.c
parent43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff)
parent3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff)
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/mips/mti-malta/malta-int.c')
-rw-r--r--arch/mips/mti-malta/malta-int.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c
index 4c3fca18a171..15949b0be811 100644
--- a/arch/mips/mti-malta/malta-int.c
+++ b/arch/mips/mti-malta/malta-int.c
@@ -25,7 +25,6 @@
25#include <linux/irq.h> 25#include <linux/irq.h>
26#include <linux/sched.h> 26#include <linux/sched.h>
27#include <linux/smp.h> 27#include <linux/smp.h>
28#include <linux/slab.h>
29#include <linux/interrupt.h> 28#include <linux/interrupt.h>
30#include <linux/io.h> 29#include <linux/io.h>
31#include <linux/kernel_stat.h> 30#include <linux/kernel_stat.h>
@@ -52,7 +51,7 @@ static unsigned long _msc01_biu_base;
52static unsigned long _gcmp_base; 51static unsigned long _gcmp_base;
53static unsigned int ipi_map[NR_CPUS]; 52static unsigned int ipi_map[NR_CPUS];
54 53
55static DEFINE_SPINLOCK(mips_irq_lock); 54static DEFINE_RAW_SPINLOCK(mips_irq_lock);
56 55
57static inline int mips_pcibios_iack(void) 56static inline int mips_pcibios_iack(void)
58{ 57{
@@ -103,7 +102,7 @@ static inline int get_int(void)
103{ 102{
104 unsigned long flags; 103 unsigned long flags;
105 int irq; 104 int irq;
106 spin_lock_irqsave(&mips_irq_lock, flags); 105 raw_spin_lock_irqsave(&mips_irq_lock, flags);
107 106
108 irq = mips_pcibios_iack(); 107 irq = mips_pcibios_iack();
109 108
@@ -113,7 +112,7 @@ static inline int get_int(void)
113 * on an SMP system, so leave it up to the generic code... 112 * on an SMP system, so leave it up to the generic code...
114 */ 113 */
115 114
116 spin_unlock_irqrestore(&mips_irq_lock, flags); 115 raw_spin_unlock_irqrestore(&mips_irq_lock, flags);
117 116
118 return irq; 117 return irq;
119} 118}