1
0
Files
linux/drivers
Julia Lawall fc0cb7d166 Staging: comedi: Use DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED is deprecated.  The following makes the change suggested
in Documentation/spinlocks.txt

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
declarer name DEFINE_SPINLOCK;
identifier xxx_lock;
@@

- spinlock_t xxx_lock = SPIN_LOCK_UNLOCKED;
+ DEFINE_SPINLOCK(xxx_lock);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-04-03 14:53:40 -07:00
..
2009-04-01 08:59:22 -07:00
2009-03-30 21:55:25 +10:30
2009-03-31 09:56:28 +01:00
2009-04-01 08:59:23 -07:00
2009-04-02 00:40:41 +00:00
2009-04-02 19:05:04 -07:00