s390/zcrypt: switch return type to bool for ap_instructions_available()
authorHarald Freudenberger <freude@linux.ibm.com>
Fri, 17 Aug 2018 07:01:09 +0000 (09:01 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 20 Aug 2018 14:02:10 +0000 (16:02 +0200)
commit9b97e9f555f1fe5044dc76d9212078757aa143ce
tree0c54e715943cbce03bd277ea5e98862d0f5624b3
parent28b7465376b9f9633bb774e45c0421dc4db7f303
s390/zcrypt: switch return type to bool for ap_instructions_available()

Function ap_instructions_available() had returntype int but
in fact returned 1 for true and 0 for false. Changed returntype
to bool.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/ap.h