diff options
| author | Heiko Carstens <[email protected]> | 2024-02-05 20:32:13 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2024-02-12 14:03:33 +0000 |
| commit | 340750c13c3af2fc8cc4f993823a0b82b8a22845 (patch) | |
| tree | f3916e53c039609b4fdec0efbb62950e164d63ed /arch/s390/include/asm/stacktrace.h | |
| parent | s390/acrs: cleanup access register handling (diff) | |
| download | kernel-340750c13c3af2fc8cc4f993823a0b82b8a22845.tar.gz kernel-340750c13c3af2fc8cc4f993823a0b82b8a22845.zip | |
s390/switch_to: use generic header file
Move the switch_to() implementation to process.c and use the generic
switch_to.h header file instead, like some other architectures.
This addresses also the oddity that the old switch_to() implementation
assigns the return value of __switch_to() to 'prev' instead of 'last',
like it should.
Remove also all includes of switch_to.h from C files, except process.c.
Acked-by: Alexander Gordeev <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'arch/s390/include/asm/stacktrace.h')
| -rw-r--r-- | arch/s390/include/asm/stacktrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/stacktrace.h b/arch/s390/include/asm/stacktrace.h index 31ec4f545e03..433fde85b14e 100644 --- a/arch/s390/include/asm/stacktrace.h +++ b/arch/s390/include/asm/stacktrace.h @@ -4,7 +4,6 @@ #include <linux/uaccess.h> #include <linux/ptrace.h> -#include <asm/switch_to.h> struct stack_frame_user { unsigned long back_chain; |
