mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] sem2mutex: ipc, id.sem
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Lee Schermerhorn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
14cc3e2b63
commit
5f921ae96f
7 changed files with 65 additions and 56 deletions
|
|
@ -25,6 +25,8 @@
|
|||
#include <linux/netlink.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <linux/signal.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include <net/sock.h>
|
||||
#include "util.h"
|
||||
|
||||
|
|
@ -760,7 +762,7 @@ out_unlock:
|
|||
* The receiver accepts the message and returns without grabbing the queue
|
||||
* spinlock. Therefore an intermediate STATE_PENDING state and memory barriers
|
||||
* are necessary. The same algorithm is used for sysv semaphores, see
|
||||
* ipc/sem.c fore more details.
|
||||
* ipc/mutex.c fore more details.
|
||||
*
|
||||
* The same algorithm is used for senders.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue