summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>2014-04-09 15:10:05 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-04-11 15:53:38 +0400
commite106e4ea44699cc940a919924f2834b91f426d9f (patch)
tree3eb2b8230a0ef43de5965dc5381d58db1bd4b41c /drivers/firewire
parent572c3eb7f841c019f756efc68debbc3187c2a62c (diff)
downloadlinux-e106e4ea44699cc940a919924f2834b91f426d9f.tar.xz
s390/sclp_vt220: Fix kernel panic due to early terminal input
A kernel panic might occur when there is terminal input available via the SCLP VT220 interface at an early time during the boot process. The processing of terminal input requires prior initialization which is done via an early_initcall function (init_workqueues) while the SCLP VT220 driver registers for terminal input during a console_initcall function (sclp_vt220_con_init). When there is terminal input available via the SCLP interface between console_initcall and early_initcall, a null pointer dereference occurs (system_wq is null). Fix this problem by moving the registration for terminal input to a device_initcall function (sclp_vt220_tty_init). Reported-by: Christian Borntraeger <borntraeger@de.ibm.com> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions