Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187783
b: refs/heads/master
c: 0e5d359
h: refs/heads/master
i:
  187781: f7d2b5b
  187779: 53a72ef
  187775: ef71e1e
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Mar 4, 2010
1 parent 5625f83 commit e6f57c9
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: 7e026f72cf05137e0b52b7aa5420e95a76bd3195
refs/heads/master: 0e5d359cca2d685311c4eaeb570f2e7e7915da31
10 changes: 5 additions & 5 deletions trunk/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "pq2.h"

static DEFINE_SPINLOCK(pci_pic_lock);
static DEFINE_RAW_SPINLOCK(pci_pic_lock);

struct pq2ads_pci_pic {
struct device_node *node;
Expand All @@ -45,12 +45,12 @@ static void pq2ads_pci_mask_irq(unsigned int virq)

if (irq != -1) {
unsigned long flags;
spin_lock_irqsave(&pci_pic_lock, flags);
raw_spin_lock_irqsave(&pci_pic_lock, flags);

setbits32(&priv->regs->mask, 1 << irq);
mb();

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

Expand All @@ -62,9 +62,9 @@ static void pq2ads_pci_unmask_irq(unsigned int virq)
if (irq != -1) {
unsigned long flags;

spin_lock_irqsave(&pci_pic_lock, flags);
raw_spin_lock_irqsave(&pci_pic_lock, flags);
clrbits32(&priv->regs->mask, 1 << irq);
spin_unlock_irqrestore(&pci_pic_lock, flags);
raw_spin_unlock_irqrestore(&pci_pic_lock, flags);
}
}

Expand Down

0 comments on commit e6f57c9

Please sign in to comment.