aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/cio.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-04-13 07:01:50 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-17 08:07:32 -0400
commit863fc8492734822b95671780db803cd9a4b7d923 (patch)
treebadeeb42bc2f1d047849882aecd37fffef91ca20 /drivers/s390/cio/cio.h
parentc135ad1caffe2b35d6316758a605a2b63ca22bb3 (diff)
s390/cio: get rid of static console subchannel
Remove the static console subchannel (and friends) and use dynamic allocation for these structures. With this change the console subchanel is treated (mostly) like any other subchannel and we can remove some special cases. Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cio.h')
-rw-r--r--drivers/s390/cio/cio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/cio/cio.h b/drivers/s390/cio/cio.h
index 3b97c8bb30e5..78975471ef28 100644
--- a/drivers/s390/cio/cio.h
+++ b/drivers/s390/cio/cio.h
@@ -128,17 +128,12 @@ void do_IRQ(struct pt_regs *);
128/* Use with care. */ 128/* Use with care. */
129#ifdef CONFIG_CCW_CONSOLE 129#ifdef CONFIG_CCW_CONSOLE
130extern struct subchannel *cio_probe_console(void); 130extern struct subchannel *cio_probe_console(void);
131extern void cio_release_console(void);
132extern int cio_is_console(struct subchannel_id); 131extern int cio_is_console(struct subchannel_id);
133extern struct subchannel *cio_get_console_subchannel(void); 132extern struct subchannel *cio_get_console_subchannel(void);
134extern spinlock_t * cio_get_console_lock(void);
135extern void *cio_get_console_priv(void);
136extern void cio_tsch(struct subchannel *sch); 133extern void cio_tsch(struct subchannel *sch);
137#else 134#else
138#define cio_is_console(schid) 0 135#define cio_is_console(schid) 0
139#define cio_get_console_subchannel() NULL 136#define cio_get_console_subchannel() NULL
140#define cio_get_console_lock() NULL
141#define cio_get_console_priv() NULL
142#endif 137#endif
143 138
144#endif 139#endif