diff options
author | Bjoern Brandenburg <bbb@swan.cs.unc.edu> | 2007-02-19 20:00:46 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@swan.cs.unc.edu> | 2007-02-19 20:00:46 -0500 |
commit | d8a908c44424ddf913a02a4d39d3da23f6756b01 (patch) | |
tree | 34289f87834bedc66ef9315bbe2bdbe20d6c0d4f /include/linux/queuelock.h | |
parent | c124b7ef72a4184397e68fef66887ecdc65549a4 (diff) |
remove second, unneeded parameter of queue_lock_init()
Queue locks in LTMUS always must allow for NR_CPUS processes. Therefore,
it is redundant to specify that int queue_lock_init().
Diffstat (limited to 'include/linux/queuelock.h')
-rw-r--r-- | include/linux/queuelock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/queuelock.h b/include/linux/queuelock.h index 0fa396a724..044422b856 100644 --- a/include/linux/queuelock.h +++ b/include/linux/queuelock.h | |||
@@ -24,7 +24,7 @@ typedef spinlock_t queuelock_t; | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | 26 | ||
27 | #define queue_lock_init(lock, dummy) spin_lock_init(lock) | 27 | #define queue_lock_init(lock) spin_lock_init(lock) |
28 | #define queue_lock_wipe(lock) spin_lock_init(lock) | 28 | #define queue_lock_wipe(lock) spin_lock_init(lock) |
29 | #define queue_lock(lock) spin_lock(lock) | 29 | #define queue_lock(lock) spin_lock(lock) |
30 | #define queue_unlock(lock) spin_unlock(lock) | 30 | #define queue_unlock(lock) spin_unlock(lock) |