diff options
Diffstat (limited to 'drivers/s390/cio/cio.h')
-rw-r--r-- | drivers/s390/cio/cio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/s390/cio/cio.h b/drivers/s390/cio/cio.h index 4541c1af4b66..7e7369b21a93 100644 --- a/drivers/s390/cio/cio.h +++ b/drivers/s390/cio/cio.h | |||
@@ -87,7 +87,7 @@ struct orb { | |||
87 | /* subchannel data structure used by I/O subroutines */ | 87 | /* subchannel data structure used by I/O subroutines */ |
88 | struct subchannel { | 88 | struct subchannel { |
89 | struct subchannel_id schid; | 89 | struct subchannel_id schid; |
90 | spinlock_t lock; /* subchannel lock */ | 90 | spinlock_t *lock; /* subchannel lock */ |
91 | struct mutex reg_mutex; | 91 | struct mutex reg_mutex; |
92 | enum { | 92 | enum { |
93 | SUBCHANNEL_TYPE_IO = 0, | 93 | SUBCHANNEL_TYPE_IO = 0, |
@@ -137,9 +137,11 @@ extern struct subchannel *cio_probe_console(void); | |||
137 | extern void cio_release_console(void); | 137 | extern void cio_release_console(void); |
138 | extern int cio_is_console(struct subchannel_id); | 138 | extern int cio_is_console(struct subchannel_id); |
139 | extern struct subchannel *cio_get_console_subchannel(void); | 139 | extern struct subchannel *cio_get_console_subchannel(void); |
140 | extern spinlock_t * cio_get_console_lock(void); | ||
140 | #else | 141 | #else |
141 | #define cio_is_console(schid) 0 | 142 | #define cio_is_console(schid) 0 |
142 | #define cio_get_console_subchannel() NULL | 143 | #define cio_get_console_subchannel() NULL |
144 | #define cio_get_console_lock() NULL; | ||
143 | #endif | 145 | #endif |
144 | 146 | ||
145 | extern int cio_show_msg; | 147 | extern int cio_show_msg; |