summaryrefslogtreecommitdiffstats
path: root/fs
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 /fs
parent306d6c49ac9ded11114cb53b0925da52f2c2ada1 (diff)
downloadlinux-87dc8a01281a4543ed25c367dace6e0f267e0dd1.tar.gz
linux-87dc8a01281a4543ed25c367dace6e0f267e0dd1.tar.bz2
linux-87dc8a01281a4543ed25c367dace6e0f267e0dd1.zip
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 'fs')
0 files changed, 0 insertions, 0 deletions