Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187784
b: refs/heads/master
c: 43a5a01
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Mar 4, 2010
1 parent e6f57c9 commit 7ad05d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e5d359cca2d685311c4eaeb570f2e7e7915da31
refs/heads/master: 43a5a01bcc5b53c67878f043b4a1b31eaa87a360
10 changes: 5 additions & 5 deletions trunk/arch/powerpc/sysdev/qe_lib/qe_ic.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#include "qe_ic.h"

static DEFINE_SPINLOCK(qe_ic_lock);
static DEFINE_RAW_SPINLOCK(qe_ic_lock);

static struct qe_ic_info qe_ic_info[] = {
[1] = {
Expand Down Expand Up @@ -201,13 +201,13 @@ static void qe_ic_unmask_irq(unsigned int virq)
unsigned long flags;
u32 temp;

spin_lock_irqsave(&qe_ic_lock, flags);
raw_spin_lock_irqsave(&qe_ic_lock, flags);

temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg);
qe_ic_write(qe_ic->regs, qe_ic_info[src].mask_reg,
temp | qe_ic_info[src].mask);

spin_unlock_irqrestore(&qe_ic_lock, flags);
raw_spin_unlock_irqrestore(&qe_ic_lock, flags);
}

static void qe_ic_mask_irq(unsigned int virq)
Expand All @@ -217,7 +217,7 @@ static void qe_ic_mask_irq(unsigned int virq)
unsigned long flags;
u32 temp;

spin_lock_irqsave(&qe_ic_lock, flags);
raw_spin_lock_irqsave(&qe_ic_lock, flags);

temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg);
qe_ic_write(qe_ic->regs, qe_ic_info[src].mask_reg,
Expand All @@ -233,7 +233,7 @@ static void qe_ic_mask_irq(unsigned int virq)
*/
mb();

spin_unlock_irqrestore(&qe_ic_lock, flags);
raw_spin_unlock_irqrestore(&qe_ic_lock, flags);
}

static struct irq_chip qe_ic_irq_chip = {
Expand Down

0 comments on commit 7ad05d8

Please sign in to comment.