]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: ccw_device_force_console don't use static variable
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Sat, 13 Apr 2013 10:56:51 +0000 (12:56 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 17 Apr 2013 12:07:31 +0000 (14:07 +0200)
commitbbe595d8890b27328ae6aedbcd7bcf38ebd47a56
tree1b6255b840b1f3bbcc25cc3129bc004c655fe2e5
parentcd7f70e6266e9dca1dc59a085b09a52305ddcd2d
s390/cio: ccw_device_force_console don't use static variable

force_console is used to wake up the CCW based console device to
print a panic message in case something goes wrong in a suspend
or resume cycle. Stop using the static console_subchannel and add
a parameter to this function to specify which ccw device we have
to wake up.

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>
arch/s390/include/asm/ccwdev.h
drivers/s390/char/con3215.c
drivers/s390/char/raw3270.c
drivers/s390/cio/device.c