summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/semaphore.h')
-rw-r--r--include/asm-m68k/semaphore.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-m68k/semaphore.h b/include/asm-m68k/semaphore.h
index 271169bbc..e1bdb10f4 100644
--- a/include/asm-m68k/semaphore.h
+++ b/include/asm-m68k/semaphore.h
@@ -1,7 +1,6 @@
#ifndef _M68K_SEMAPHORE_H
#define _M68K_SEMAPHORE_H
-#include <linux/config.h>
#include <linux/linkage.h>
#include <asm/system.h>
@@ -19,7 +18,7 @@
struct semaphore {
atomic_t count;
atomic_t waking;
- struct wait_queue * wait;
+ wait_queue_head_t wait;
};
#define MUTEX ((struct semaphore) { ATOMIC_INIT(1), ATOMIC_INIT(0), NULL })