amd64: stop re-reading curpc in suword
Plugs re-reads missed in r341719 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5e57adc874
commit
8eae2be460
@ -1083,7 +1083,6 @@ ENTRY(suword_nosmap)
|
||||
|
||||
movq %rsi,(%rdi)
|
||||
xorl %eax,%eax
|
||||
movq PCPU(CURPCB),%rcx
|
||||
movq %rax,PCB_ONFAULT(%rcx)
|
||||
POP_FRAME_POINTER
|
||||
ret
|
||||
@ -1102,7 +1101,6 @@ ENTRY(suword_smap)
|
||||
movq %rsi,(%rdi)
|
||||
clac
|
||||
xorl %eax,%eax
|
||||
movq PCPU(CURPCB),%rcx
|
||||
movq %rax,PCB_ONFAULT(%rcx)
|
||||
POP_FRAME_POINTER
|
||||
ret
|
||||
@ -1119,7 +1117,6 @@ ENTRY(suword32_nosmap)
|
||||
|
||||
movl %esi,(%rdi)
|
||||
xorl %eax,%eax
|
||||
movq PCPU(CURPCB),%rcx
|
||||
movq %rax,PCB_ONFAULT(%rcx)
|
||||
POP_FRAME_POINTER
|
||||
ret
|
||||
@ -1138,7 +1135,6 @@ ENTRY(suword32_smap)
|
||||
movl %esi,(%rdi)
|
||||
clac
|
||||
xorl %eax,%eax
|
||||
movq PCPU(CURPCB),%rcx
|
||||
movq %rax,PCB_ONFAULT(%rcx)
|
||||
POP_FRAME_POINTER
|
||||
ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user