aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/semaphore.h')
-rw-r--r--include/asm-ppc/semaphore.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-ppc/semaphore.h b/include/asm-ppc/semaphore.h
index 89e6e73be08c..d592937359c5 100644
--- a/include/asm-ppc/semaphore.h
+++ b/include/asm-ppc/semaphore.h
@@ -37,9 +37,6 @@ struct semaphore {
37 .wait = __WAIT_QUEUE_HEAD_INITIALIZER((name).wait) \ 37 .wait = __WAIT_QUEUE_HEAD_INITIALIZER((name).wait) \
38} 38}
39 39
40#define __MUTEX_INITIALIZER(name) \
41 __SEMAPHORE_INITIALIZER(name, 1)
42
43#define __DECLARE_SEMAPHORE_GENERIC(name, count) \ 40#define __DECLARE_SEMAPHORE_GENERIC(name, count) \
44 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 41 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
45 42