Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201081
b: refs/heads/master
c: ab83a38
h: refs/heads/master
i:
  201079: 6ce726d
v: v3
  • Loading branch information
Ken Kawasaki authored and David S. Miller committed Jul 13, 2010
1 parent b3357e9 commit e785d12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 336a283b9cbe47748ccd68fd8c5158f67cee644b
refs/heads/master: ab83a38958ae7e419f18fabe9b2954a6087bfe0d
7 changes: 4 additions & 3 deletions trunk/drivers/net/pcmcia/axnet_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@ static irqreturn_t ax_interrupt(int irq, void *dev_id)
int interrupts, nr_serviced = 0, i;
struct ei_device *ei_local;
int handled = 0;
unsigned long flags;

e8390_base = dev->base_addr;
ei_local = netdev_priv(dev);
Expand All @@ -1176,7 +1177,7 @@ static irqreturn_t ax_interrupt(int irq, void *dev_id)
* Protect the irq test too.
*/

spin_lock(&ei_local->page_lock);
spin_lock_irqsave(&ei_local->page_lock, flags);

if (ei_local->irqlock)
{
Expand All @@ -1188,7 +1189,7 @@ static irqreturn_t ax_interrupt(int irq, void *dev_id)
dev->name, inb_p(e8390_base + EN0_ISR),
inb_p(e8390_base + EN0_IMR));
#endif
spin_unlock(&ei_local->page_lock);
spin_unlock_irqrestore(&ei_local->page_lock, flags);
return IRQ_NONE;
}

Expand Down Expand Up @@ -1261,7 +1262,7 @@ static irqreturn_t ax_interrupt(int irq, void *dev_id)
ei_local->irqlock = 0;
outb_p(ENISR_ALL, e8390_base + EN0_IMR);

spin_unlock(&ei_local->page_lock);
spin_unlock_irqrestore(&ei_local->page_lock, flags);
return IRQ_RETVAL(handled);
}

Expand Down

0 comments on commit e785d12

Please sign in to comment.