Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
lib
/
cmpxchg16b_emu.S
diff --git
a/kernel/arch/x86/lib/cmpxchg16b_emu.S
b/kernel/arch/x86/lib/cmpxchg16b_emu.S
index
40a1725
..
9b33024
100644
(file)
--- a/
kernel/arch/x86/lib/cmpxchg16b_emu.S
+++ b/
kernel/arch/x86/lib/cmpxchg16b_emu.S
@@
-6,7
+6,6
@@
*
*/
#include <linux/linkage.h>
*
*/
#include <linux/linkage.h>
-#include <asm/dwarf2.h>
#include <asm/percpu.h>
.text
#include <asm/percpu.h>
.text
@@
-21,7
+20,6
@@
* %al : Operation successful
*/
ENTRY(this_cpu_cmpxchg16b_emu)
* %al : Operation successful
*/
ENTRY(this_cpu_cmpxchg16b_emu)
-CFI_STARTPROC
#
# Emulate 'cmpxchg16b %gs:(%rsi)' except we return the result in %al not
#
# Emulate 'cmpxchg16b %gs:(%rsi)' except we return the result in %al not
@@
-32,7
+30,7
@@
CFI_STARTPROC
# *atomic* on a single cpu (as provided by the this_cpu_xx class of
# macros).
#
# *atomic* on a single cpu (as provided by the this_cpu_xx class of
# macros).
#
- pushfq
_cfi
+ pushfq
cli
cmpq PER_CPU_VAR((%rsi)), %rax
cli
cmpq PER_CPU_VAR((%rsi)), %rax
@@
-43,17
+41,13
@@
CFI_STARTPROC
movq %rbx, PER_CPU_VAR((%rsi))
movq %rcx, PER_CPU_VAR(8(%rsi))
movq %rbx, PER_CPU_VAR((%rsi))
movq %rcx, PER_CPU_VAR(8(%rsi))
- CFI_REMEMBER_STATE
- popfq_cfi
+ popfq
mov $1, %al
ret
mov $1, %al
ret
- CFI_RESTORE_STATE
.Lnot_same:
.Lnot_same:
- popfq
_cfi
+ popfq
xor %al,%al
ret
xor %al,%al
ret
-CFI_ENDPROC
-
ENDPROC(this_cpu_cmpxchg16b_emu)
ENDPROC(this_cpu_cmpxchg16b_emu)