summaryrefslogtreecommitdiff
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-02-05 21:32:13 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-02-12 15:03:33 +0100
commit340750c13c3af2fc8cc4f993823a0b82b8a22845 (patch)
treef3916e53c039609b4fdec0efbb62950e164d63ed /drivers/s390/char
parent304103736ba75be70991cd6336c28121d7bf14f5 (diff)
downloadlwn-340750c13c3af2fc8cc4f993823a0b82b8a22845.tar.gz
lwn-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 <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r--drivers/s390/char/zcore.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c
index bc3be0330f1d..0969fa01df58 100644
--- a/drivers/s390/char/zcore.c
+++ b/drivers/s390/char/zcore.c
@@ -29,7 +29,6 @@
#include <asm/irqflags.h>
#include <asm/checksum.h>
#include <asm/os_info.h>
-#include <asm/switch_to.h>
#include <asm/maccess.h>
#include "sclp.h"