s390/processor: always inline cpu flag helper functions
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Feb 2023 13:49:41 +0000 (14:49 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 9 Feb 2023 19:11:22 +0000 (20:11 +0100)
commit87f79d886dd8c53bc61b09078764e50e3ac631cc
tree6ddb35126f0cac5993037f6d7692e691943da012
parenta9cbc1b471d291c865907542394f1c483b93a811
s390/processor: always inline cpu flag helper functions

arch_cpu_idle() is marked noinstr and therefore must only call functions
which are also not instrumented.

Make sure that cpu flag helper functions are always inlined to avoid that
the compiler generates an out-of-line function for e.g. the call within
arch_cpu_idle().

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/processor.h