File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 24
24
#include <asm/frame.h>
25
25
26
26
ENTRY(swsusp_arch_suspend)
27
- FRAME_BEGIN
28
27
movq $saved_context, %rax
29
28
movq %rsp , pt_regs_sp(%rax )
30
29
movq %rbp , pt_regs_bp(%rax )
@@ -48,6 +47,7 @@ ENTRY(swsusp_arch_suspend)
48
47
movq %cr3 , %rax
49
48
movq %rax , restore_cr3(%rip )
50
49
50
+ FRAME_BEGIN
51
51
call swsusp_save
52
52
FRAME_END
53
53
ret
@@ -104,7 +104,6 @@ ENTRY(core_restore_code)
104
104
/* code below belongs to the image kernel */
105
105
.align PAGE_SIZE
106
106
ENTRY(restore_registers)
107
- FRAME_BEGIN
108
107
/* go back to the original page tables */
109
108
movq %r9 , %cr3
110
109
@@ -145,6 +144,5 @@ ENTRY(restore_registers)
145
144
/* tell the hibernation core that we've just restored the memory */
146
145
movq %rax , in_suspend(%rip )
147
146
148
- FRAME_END
149
147
ret
150
148
ENDPROC(restore_registers)
You can’t perform that action at this time.
0 commit comments