hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/x86/lib/cmpxchg8b_emu.S
....@@ -1,10 +1,4 @@
1
-/*
2
- * This program is free software; you can redistribute it and/or
3
- * modify it under the terms of the GNU General Public License
4
- * as published by the Free Software Foundation; version 2
5
- * of the License.
6
- *
7
- */
1
+/* SPDX-License-Identifier: GPL-2.0-only */
82
93 #include <linux/linkage.h>
104 #include <asm/export.h>
....@@ -19,7 +13,7 @@
1913 * %ebx : low 32 bits of new value
2014 * %ecx : high 32 bits of new value
2115 */
22
-ENTRY(cmpxchg8b_emu)
16
+SYM_FUNC_START(cmpxchg8b_emu)
2317
2418 #
2519 # Emulate 'cmpxchg8b (%esi)' on UP except we don't
....@@ -38,7 +32,7 @@
3832 movl %ecx, 4(%esi)
3933
4034 popfl
41
- ret
35
+ RET
4236
4337 .Lnot_same:
4438 movl (%esi), %eax
....@@ -46,7 +40,7 @@
4640 movl 4(%esi), %edx
4741
4842 popfl
49
- ret
43
+ RET
5044
51
-ENDPROC(cmpxchg8b_emu)
45
+SYM_FUNC_END(cmpxchg8b_emu)
5246 EXPORT_SYMBOL(cmpxchg8b_emu)