alistair23-linux/drivers/s390
Sebastian Ott 1e53209605 s390/cio: reorder initialization of ccw consoles
Drivers for ccw consoles use ccw_device_probe_console to receive
an initialized ccw device which is already enabled for interrupts.
After that the device driver does the initialization of its private
data. This can race with unsolicited interrupts which can happen
once the device is enabled for interrupts.

Split ccw_device_probe_console into ccw_device_create_console and
ccw_device_enable_console and reorder the initialization of the ccw
console drivers.

While at it mark these functions as __init.

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>
2014-02-21 08:50:12 +01:00
..
block Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-block 2014-01-30 11:19:05 -08:00
char s390/cio: reorder initialization of ccw consoles 2014-02-21 08:50:12 +01:00
cio s390/cio: reorder initialization of ccw consoles 2014-02-21 08:50:12 +01:00
crypto s390: Fix misspellings using 'codespell' tool 2014-01-16 16:40:13 +01:00
kvm KVM: s390: virtio-ccw: Handle command rejects. 2014-01-17 13:12:22 +01:00
net qeth: fix build of s390 allmodconfig 2014-01-29 00:43:33 -08:00
scsi Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
Makefile