summaryrefslogtreecommitdiff
path: root/arch/x86/platform/olpc/xo1-wakeup.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/platform/olpc/xo1-wakeup.S')
-rw-r--r--arch/x86/platform/olpc/xo1-wakeup.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/platform/olpc/xo1-wakeup.S b/arch/x86/platform/olpc/xo1-wakeup.S
index 948deb289753..3a5abffe5660 100644
--- a/arch/x86/platform/olpc/xo1-wakeup.S
+++ b/arch/x86/platform/olpc/xo1-wakeup.S
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
.text
#include <linux/linkage.h>
#include <asm/segment.h>
@@ -76,7 +77,7 @@ save_registers:
pushfl
popl saved_context_eflags
- ret
+ RET
restore_registers:
movl saved_context_ebp, %ebp
@@ -87,9 +88,9 @@ restore_registers:
pushl saved_context_eflags
popfl
- ret
+ RET
-ENTRY(do_olpc_suspend_lowlevel)
+SYM_CODE_START(do_olpc_suspend_lowlevel)
call save_processor_state
call save_registers
@@ -108,7 +109,8 @@ ret_point:
call restore_registers
call restore_processor_state
- ret
+ RET
+SYM_CODE_END(do_olpc_suspend_lowlevel)
.data
saved_gdt: .long 0,0