summaryrefslogtreecommitdiff
path: root/arch/s390/boot/trampoline.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/boot/trampoline.S')
-rw-r--r--arch/s390/boot/trampoline.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/s390/boot/trampoline.S b/arch/s390/boot/trampoline.S
new file mode 100644
index 000000000000..1cb5adf005ea
--- /dev/null
+++ b/arch/s390/boot/trampoline.S
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#include <linux/linkage.h>
+
+# This function is identical to __load_psw(), but the lx-symbols GDB command
+# puts a breakpoint on it, so it needs to be kept separate.
+SYM_CODE_START(jump_to_kernel)
+ lpswe 0(%r2)
+SYM_CODE_END(jump_to_kernel)