Commit 01106eae authored by Eric Sandeen's avatar Eric Sandeen Committed by Tim Shimmin

[XFS] Collapse sv_init and init_sv into just the one interface.

SGI-PV: 907752
SGI-Modid: xfs-linux-melb:xfs-kern:26925a
Signed-off-by: default avatarEric Sandeen <sandeen@sandeen.net>
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
Signed-off-by: default avatarTim Shimmin <tes@sgi.com>
parent 7ae67d78
...@@ -53,8 +53,6 @@ static inline void _sv_wait(sv_t *sv, spinlock_t *lock, int state, ...@@ -53,8 +53,6 @@ static inline void _sv_wait(sv_t *sv, spinlock_t *lock, int state,
remove_wait_queue(&sv->waiters, &wait); remove_wait_queue(&sv->waiters, &wait);
} }
#define init_sv(sv,type,name,flag) \
init_waitqueue_head(&(sv)->waiters)
#define sv_init(sv,flag,name) \ #define sv_init(sv,flag,name) \
init_waitqueue_head(&(sv)->waiters) init_waitqueue_head(&(sv)->waiters)
#define sv_destroy(sv) \ #define sv_destroy(sv) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment