Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232406
b: refs/heads/master
c: cbeb4b7
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Gordeev authored and Linus Torvalds committed Jan 26, 2011
1 parent 74ef229 commit 9d10897
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0766d20fdb9178b908f0268c16b464c11822c5c2
refs/heads/master: cbeb4b7ad5346516d2ee726395eb5722b25a0a01
4 changes: 2 additions & 2 deletions trunk/drivers/parport/share.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ void parport_unregister_device(struct pardevice *dev)

/* Make sure we haven't left any pointers around in the wait
* list. */
spin_lock (&port->waitlist_lock);
spin_lock_irq(&port->waitlist_lock);
if (dev->waitprev || dev->waitnext || port->waithead == dev) {
if (dev->waitprev)
dev->waitprev->waitnext = dev->waitnext;
Expand All @@ -689,7 +689,7 @@ void parport_unregister_device(struct pardevice *dev)
else
port->waittail = dev->waitprev;
}
spin_unlock (&port->waitlist_lock);
spin_unlock_irq(&port->waitlist_lock);

kfree(dev->state);
kfree(dev);
Expand Down

0 comments on commit 9d10897

Please sign in to comment.