diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-16 10:30:28 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-16 10:31:11 +0200 |
commit | 6664845cef13b0a224f43f6c46eddd0b3e018c04 (patch) | |
tree | 09350ab336e1de833e100e78efa1cfbe716aa195 /arch/s390 | |
parent | 14532095dfe9e8faf2d314d9c2170f64737c7dff (diff) | |
download | linux-3.10-6664845cef13b0a224f43f6c46eddd0b3e018c04.tar.gz linux-3.10-6664845cef13b0a224f43f6c46eddd0b3e018c04.tar.bz2 linux-3.10-6664845cef13b0a224f43f6c46eddd0b3e018c04.zip |
[S390] cio: force console function
If something goes wrong in a suspend / resume cycle a ccw based console
if very likely in the suspended state and cannot print anything.
Introduce ccw_device_force_console to force the wake up of the console
device to be able to print the oops message. The console device drivers
should use this function only if the system paniced.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/ccwdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390/include/asm/ccwdev.h index 18f0a758092..2a541955117 100644 --- a/arch/s390/include/asm/ccwdev.h +++ b/arch/s390/include/asm/ccwdev.h @@ -192,6 +192,7 @@ extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *); #define to_ccwdrv(n) container_of(n, struct ccw_driver, driver) extern struct ccw_device *ccw_device_probe_console(void); +extern int ccw_device_force_console(void); // FIXME: these have to go extern int _ccw_device_get_subchannel_number(struct ccw_device *); |