]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/zcrypt: use spin_lock_bh for all queue locks and unlocks.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Mon, 16 Jan 2017 08:43:29 +0000 (09:43 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 31 Jan 2017 09:46:15 +0000 (10:46 +0100)
commit7fbe5c0f2af3ab82fe6880af557e98a10d711370
tree5e2fdc39a741c647ad85e117cfc78eee21a7df1c
parentd34b1acb78af41b8b8d5c60972b6555ea19f7564
s390/zcrypt: use spin_lock_bh for all queue locks and unlocks.

During tests the Kernel complained about inconsistend lock state:
inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage.
Now all the queue locks use spin_lock_bh/spin_unlock_bh.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_api.c