hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/x86/lib/msr-reg.S
....@@ -12,7 +12,7 @@
1212 *
1313 */
1414 .macro op_safe_regs op
15
-ENTRY(\op\()_safe_regs)
15
+SYM_FUNC_START(\op\()_safe_regs)
1616 pushq %rbx
1717 pushq %r12
1818 movq %rdi, %r10 /* Save pointer */
....@@ -35,19 +35,19 @@
3535 movl %edi, 28(%r10)
3636 popq %r12
3737 popq %rbx
38
- ret
38
+ RET
3939 3:
4040 movl $-EIO, %r11d
4141 jmp 2b
4242
4343 _ASM_EXTABLE(1b, 3b)
44
-ENDPROC(\op\()_safe_regs)
44
+SYM_FUNC_END(\op\()_safe_regs)
4545 .endm
4646
4747 #else /* X86_32 */
4848
4949 .macro op_safe_regs op
50
-ENTRY(\op\()_safe_regs)
50
+SYM_FUNC_START(\op\()_safe_regs)
5151 pushl %ebx
5252 pushl %ebp
5353 pushl %esi
....@@ -77,13 +77,13 @@
7777 popl %esi
7878 popl %ebp
7979 popl %ebx
80
- ret
80
+ RET
8181 3:
8282 movl $-EIO, 4(%esp)
8383 jmp 2b
8484
8585 _ASM_EXTABLE(1b, 3b)
86
-ENDPROC(\op\()_safe_regs)
86
+SYM_FUNC_END(\op\()_safe_regs)
8787 .endm
8888
8989 #endif