hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/purgatory/head.S
....@@ -11,6 +11,7 @@
1111 #include <asm/asm-offsets.h>
1212 #include <asm/page.h>
1313 #include <asm/sigp.h>
14
+#include <asm/ptrace.h>
1415
1516 /* The purgatory is the code running between two kernels. It's main purpose
1617 * is to verify that the next kernel was not corrupted after load and to
....@@ -89,8 +90,7 @@
8990 .base_crash:
9091
9192 /* Setup stack */
92
- larl %r15,purgatory_end
93
- aghi %r15,-160
93
+ larl %r15,purgatory_end-STACK_FRAME_OVERHEAD
9494
9595 /* If the next kernel is KEXEC_TYPE_CRASH the purgatory is called
9696 * directly with a flag passed in %r2 whether the purgatory shall do