diff options
Diffstat (limited to 'arch/arm/lib64/setjmp.S')
-rw-r--r-- | arch/arm/lib64/setjmp.S | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/lib64/setjmp.S b/arch/arm/lib64/setjmp.S index a7f6d05417..80be8cb0f2 100644 --- a/arch/arm/lib64/setjmp.S +++ b/arch/arm/lib64/setjmp.S @@ -1,7 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * (C) 2017 Theobroma Systems Design und Consulting GmbH - */ +/* SPDX-FileCopyrightText: 2017 Theobroma Systems Design und Consulting GmbH */ #include <config.h> #include <linux/linkage.h> @@ -38,3 +36,12 @@ ENTRY(longjmp) ret ENDPROC(longjmp) .popsection + +.pushsection .text.initjmp, "ax" +ENTRY(initjmp) + str x2, [x0, #96] /* stack pointer */ + str x1, [x0, #88] /* return address */ + mov x0, #0 + ret +ENDPROC(initjmp) +.popsection |