JFS: semaphore to mutex conversion.
the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
This commit is contained in:
committed by
Dave Kleikamp
parent
0a0fc0ddbe
commit
1de87444f8
@@ -87,9 +87,9 @@ DECLARE_WAIT_QUEUE_HEAD(jfs_IO_thread_wait);
|
||||
/*
|
||||
* log read/write serialization (per log)
|
||||
*/
|
||||
#define LOG_LOCK_INIT(log) init_MUTEX(&(log)->loglock)
|
||||
#define LOG_LOCK(log) down(&((log)->loglock))
|
||||
#define LOG_UNLOCK(log) up(&((log)->loglock))
|
||||
#define LOG_LOCK_INIT(log) mutex_init(&(log)->loglock)
|
||||
#define LOG_LOCK(log) mutex_lock(&((log)->loglock))
|
||||
#define LOG_UNLOCK(log) mutex_unlock(&((log)->loglock))
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user