diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-07-05 23:27:06 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-07-08 23:12:17 +0300 |
commit | 2ae6521504941650fd48bcefd288730c3e44211a (patch) | |
tree | c39a3db78075ed430ee0357c43e3d6e64a35c651 /arch/s390/include/asm/softirq_stack.h | |
parent | 938e02beb3a0181ed1c7828e8939ffa32c350bea (diff) | |
download | linux-2ae6521504941650fd48bcefd288730c3e44211a.tar.xz |
s390/irq: inline do_softirq_own_stack()
Move do_softirq_own_stack() to proper header file so it can be
inlined; saving a few cycles.
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>
Diffstat (limited to 'arch/s390/include/asm/softirq_stack.h')
-rw-r--r-- | arch/s390/include/asm/softirq_stack.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/s390/include/asm/softirq_stack.h b/arch/s390/include/asm/softirq_stack.h new file mode 100644 index 000000000000..5976fd613cd2 --- /dev/null +++ b/arch/s390/include/asm/softirq_stack.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_S390_SOFTIRQ_STACK_H +#define __ASM_S390_SOFTIRQ_STACK_H + +#include <asm/lowcore.h> +#include <asm/stacktrace.h> + +static inline void do_softirq_own_stack(void) +{ + CALL_ON_STACK(__do_softirq, S390_lowcore.async_stack, 0); +} + +#endif /* __ASM_S390_SOFTIRQ_STACK_H */ |