x86/asm/32: Add ENDs to some functions and relabel with SYM_CODE_*
[sfrench/cifs-2.6.git] / arch / x86 / power / hibernate_asm_32.S
index 6fe383002125f6a8ec01144fda30a647c9f8cb34..a19ed3d231853f135c861b690aad3061545af455 100644 (file)
@@ -35,7 +35,7 @@ ENTRY(swsusp_arch_suspend)
        ret
 ENDPROC(swsusp_arch_suspend)
 
-ENTRY(restore_image)
+SYM_CODE_START(restore_image)
        /* prepare to jump to the image kernel */
        movl    restore_jump_address, %ebx
        movl    restore_cr3, %ebp
@@ -45,9 +45,10 @@ ENTRY(restore_image)
        /* jump to relocated restore code */
        movl    relocated_restore_code, %eax
        jmpl    *%eax
+SYM_CODE_END(restore_image)
 
 /* code below has been relocated to a safe page */
-ENTRY(core_restore_code)
+SYM_CODE_START(core_restore_code)
        movl    temp_pgt, %eax
        movl    %eax, %cr3
 
@@ -77,6 +78,7 @@ copy_loop:
 
 done:
        jmpl    *%ebx
+SYM_CODE_END(core_restore_code)
 
        /* code below belongs to the image kernel */
        .align PAGE_SIZE