svn commit: r260560 - projects/amd64_xen_pv/sys/amd64/xen
Cherry G. Mathew
cherry at FreeBSD.org
Sun Jan 12 12:14:39 UTC 2014
Author: cherry
Date: Sun Jan 12 12:14:38 2014
New Revision: 260560
URL: http://svnweb.freebsd.org/changeset/base/260560
Log:
Revert the first part of r259097.
32bit ops on registers automatically clear out the top 32bits of its
64bits.
Suggested by: jilles@
Approved by: gibbs@ (implicit)
Modified:
projects/amd64_xen_pv/sys/amd64/xen/exception.S
Modified: projects/amd64_xen_pv/sys/amd64/xen/exception.S
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/exception.S Sun Jan 12 11:44:28 2014 (r260559)
+++ projects/amd64_xen_pv/sys/amd64/xen/exception.S Sun Jan 12 12:14:38 2014 (r260560)
@@ -220,7 +220,7 @@
movq PCPU(CURTHREAD),%rdi ;\
movq %rsp, TD_FRAME(%rdi) ;\
movl TF_RFLAGS(%rsp),%esi ;\
- andq $PSL_T, %rsi ;\
+ andl $PSL_T,%esi ;\
call amd64_syscall
#define SYSRET \
More information about the svn-src-projects
mailing list