diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-07-19 10:43:26 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-31 05:27:57 -0400 |
commit | 837c5220557270e652d89f68a9fb12a5e72e8a7a (patch) | |
tree | ab60a16d9c19efc26e5a9253bcf96703cd1b65b7 /kernel/user.c | |
parent | bc29b7ac1d9f09f5024b0e257e91bf5df611ccd4 (diff) |
s390/cio: convert cfg_lock mutex to spinlock
cfg_lock is never held long and we don't want to sleep while the
lock is being held. Thus it can be converted to a simple spinlock.
In addition we can now use the lock during the evaluation of a
wake_up condition.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions