Commit 7d5e07fc authored by Thomas Gleixner's avatar Thomas Gleixner

ibmphp-hpc: semaphore cleanup

The usage of this "mutex"es is non obvious and probably a completion
in some places. Make them semaphores.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
parent 11b532d6
......@@ -132,8 +132,8 @@ void __init ibmphp_hpc_initvars (void)
debug ("%s - Entry\n", __func__);
mutex_init(&sem_hpcaccess);
init_MUTEX (&semOperations);
init_MUTEX_LOCKED (&sem_exit);
semaphore_init(&semOperations);
semaphore_init_locked(&sem_exit);
to_debug = 0;
debug ("%s - Exit\n", __func__);
......
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