aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/ioasm.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-04-13 07:06:27 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-17 08:07:33 -0400
commit0ad8f714a135cf993606c21fc1ed0e303ef17c0d (patch)
tree78ce400a47edecdce1921f2bb6cc536009778bb5 /drivers/s390/cio/ioasm.h
parent4e5ebd51214a1851841f952e9e5b5072ce5f9da4 (diff)
s390/cio: fix early init counter usage
Via ccw_device_init_count we keep track of how many devices are in asynchronous device recognition/initialization. For early devices this variable was not only used prior to its initialization but used incorrectly (incremented but never decremented). Fix this by using static initialization for this variable (and friends), make them visible to device.c only, and decrement the counter after recognition of early devices is finished. 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/ioasm.h')
0 files changed, 0 insertions, 0 deletions