diff options
Diffstat (limited to 'drivers/s390/char/vmcp.h')
-rw-r--r-- | drivers/s390/char/vmcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/vmcp.h b/drivers/s390/char/vmcp.h index 8a5975f3dad7..6a993948e188 100644 --- a/drivers/s390/char/vmcp.h +++ b/drivers/s390/char/vmcp.h | |||
@@ -12,8 +12,8 @@ | |||
12 | * The idea of this driver is based on cpint from Neale Ferguson | 12 | * The idea of this driver is based on cpint from Neale Ferguson |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <asm/semaphore.h> | ||
16 | #include <linux/ioctl.h> | 15 | #include <linux/ioctl.h> |
16 | #include <linux/mutex.h> | ||
17 | 17 | ||
18 | #define VMCP_GETCODE _IOR(0x10, 1, int) | 18 | #define VMCP_GETCODE _IOR(0x10, 1, int) |
19 | #define VMCP_SETBUF _IOW(0x10, 2, int) | 19 | #define VMCP_SETBUF _IOW(0x10, 2, int) |
@@ -26,5 +26,5 @@ struct vmcp_session { | |||
26 | int resp_code; | 26 | int resp_code; |
27 | /* As we use copy_from/to_user, which might * | 27 | /* As we use copy_from/to_user, which might * |
28 | * sleep and cannot use a spinlock */ | 28 | * sleep and cannot use a spinlock */ |
29 | struct semaphore mutex; | 29 | struct mutex mutex; |
30 | }; | 30 | }; |