OSDN Git Service

s390/irq: simplify on_async_stack()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 5 Jul 2021 18:57:49 +0000 (20:57 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 8 Jul 2021 20:12:17 +0000 (22:12 +0200)
commitbb250e64e4702774ddee052b57136ab222f59ce1
tree30a462c9cc5294f508dcf287721bca3896c5d476
parent2ae6521504941650fd48bcefd288730c3e44211a
s390/irq: simplify on_async_stack()

Make on_async_stack() a bit more readable, even though as usual it
depends if one considers "!!!" readable or not.
At least the new construct to check if the async stack is in use or
not is a bit shorter and generates slightly better code.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/irq.c