diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-03-27 12:37:25 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-04-04 19:34:56 +0300 |
commit | 23be82f0deb8ce02fbb94d9baac7c2434d5e217e (patch) | |
tree | 6d453c469884974508fe51c0ccc61cb1dccbf217 /arch/s390/include/asm/stacktrace.h | |
parent | 944c78376a39b86a57c0b36c73d1316bd97846bc (diff) | |
download | linux-23be82f0deb8ce02fbb94d9baac7c2434d5e217e.tar.xz |
s390/stacktrace: remove call_on_stack_noreturn()
There is no user left of call_on_stack_noreturn() - remove it.
Reviewed-by: Vasily Gorbik <gor@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/stacktrace.h')
-rw-r--r-- | arch/s390/include/asm/stacktrace.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/s390/include/asm/stacktrace.h b/arch/s390/include/asm/stacktrace.h index 1802be5abb5d..25e833cd883c 100644 --- a/arch/s390/include/asm/stacktrace.h +++ b/arch/s390/include/asm/stacktrace.h @@ -189,17 +189,4 @@ static __always_inline unsigned long get_stack_pointer(struct task_struct *task, (rettype)r2; \ }) -#define call_on_stack_noreturn(fn, stack) \ -({ \ - void (*__fn)(void) = fn; \ - \ - asm volatile( \ - " la 15,0(%[_stack])\n" \ - " xc %[_bc](8,15),%[_bc](15)\n" \ - " brasl 14,%[_fn]\n" \ - ::[_bc] "i" (offsetof(struct stack_frame, back_chain)), \ - [_stack] "a" (stack), [_fn] "X" (__fn)); \ - BUG(); \ -}) - #endif /* _ASM_S390_STACKTRACE_H */ |