summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-06-13 16:26:23 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-17 07:27:51 +0200
commit87dc8a01281a4543ed25c367dace6e0f267e0dd1 (patch)
treee190bcc45782fcfc87e49a0900aa181fba302590 /lib/mpi
parent306d6c49ac9ded11114cb53b0925da52f2c2ada1 (diff)
s390/cio: ensure that a chpid is registered only once
Improve locking in chp_new to make sure that we don't register the same chpid twice. Chpid registration was synchronized via the machine check handler thread but we also have codepaths to look for new chpids triggered independent of that thread (during IPL or resume from hibernate). Signed-off-by: Sebastian Ott <sebott@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions