s390: add type checking to CALL_ON_STACK_NORETURN() macro
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 5 Jul 2021 15:53:42 +0000 (17:53 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 8 Jul 2021 20:12:18 +0000 (22:12 +0200)
commita9b660849ffa70aaef868d0bc54e325919fe1281
tree435c1bf417e2ee589c4e05cdf19ea3709d17cd58
parent60a4813c4794281084a0f3de544ccf209f29a957
s390: add type checking to CALL_ON_STACK_NORETURN() macro

Make sure the to be called function takes no arguments (and returns void).
Otherwise usage of CALL_ON_STACK_NORETURN() would generate broken 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/include/asm/stacktrace.h