hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/x86/lib/cmpxchg16b_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 #include <linux/linkage.h>
93 #include <asm/percpu.h>
104
....@@ -19,7 +13,7 @@
1913 * %rcx : high 64 bits of new value
2014 * %al : Operation successful
2115 */
22
-ENTRY(this_cpu_cmpxchg16b_emu)
16
+SYM_FUNC_START(this_cpu_cmpxchg16b_emu)
2317
2418 #
2519 # Emulate 'cmpxchg16b %gs:(%rsi)' except we return the result in %al not
....@@ -43,11 +37,11 @@
4337
4438 popfq
4539 mov $1, %al
46
- ret
40
+ RET
4741
4842 .Lnot_same:
4943 popfq
5044 xor %al,%al
51
- ret
45
+ RET
5246
53
-ENDPROC(this_cpu_cmpxchg16b_emu)
47
+SYM_FUNC_END(this_cpu_cmpxchg16b_emu)