[XFS] standardize on one sema init macro
One sema to rule them all, one sema to find them... SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:26911a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Nathan Scott <nathans@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:
committed by
Tim Shimmin
parent
91d8723204
commit
7ae67d78e7
@@ -29,8 +29,6 @@
|
||||
|
||||
typedef struct semaphore sema_t;
|
||||
|
||||
#define init_sema(sp, val, c, d) sema_init(sp, val)
|
||||
#define initsema(sp, val) sema_init(sp, val)
|
||||
#define initnsema(sp, val, name) sema_init(sp, val)
|
||||
#define psema(sp, b) down(sp)
|
||||
#define vsema(sp) up(sp)
|
||||
|
Reference in New Issue
Block a user