]> git.karo-electronics.de Git - linux-beck.git/commit
s390/zcrypt: simplify message type handling
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 2 Sep 2016 13:21:45 +0000 (15:21 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Dec 2016 15:33:37 +0000 (16:33 +0100)
commit236fb2ab95e9832880501d465d64eb2f2935b852
tree7a3f44d63cc8faa4be38d23b39c506fb961aae5f
parentfc1d3f02544a6fd5f417921b57c663388586a17a
s390/zcrypt: simplify message type handling

Now that the message type modules are linked with the zcrypt_api
into a single module the zcrypt_ops_list is initialized by
the module init function of the zcyppt.ko module. After that
the list is static and all message types are present.

Drop the zcrypt_ops_list_lock spinlock and the module handling
in regard to the message types.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_api.c
drivers/s390/crypto/zcrypt_api.h
drivers/s390/crypto/zcrypt_cex2a.c
drivers/s390/crypto/zcrypt_cex4.c
drivers/s390/crypto/zcrypt_pcixcc.c