summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/semaphore.h')
-rw-r--r--include/asm-arm/semaphore.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-arm/semaphore.h b/include/asm-arm/semaphore.h
index a51b6f96e..05456d7de 100644
--- a/include/asm-arm/semaphore.h
+++ b/include/asm-arm/semaphore.h
@@ -5,13 +5,12 @@
#define __ASM_ARM_SEMAPHORE_H
#include <linux/linkage.h>
-#include <asm/system.h>
#include <asm/atomic.h>
struct semaphore {
atomic_t count;
int waking;
- struct wait_queue * wait;
+ wait_queue_head_t wait;
};
#define MUTEX ((struct semaphore) { ATOMIC_INIT(1), 0, NULL })