summaryrefslogtreecommitdiffstats
path: root/sys/amd64/ia32/ia32_exception.S
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-04-08 13:30:48 +0000
committerjhb <jhb@FreeBSD.org>2011-04-08 13:30:48 +0000
commit6ff99aec8cfc17b8f4ab83a77376502b62de51ce (patch)
tree688fec5ad4107f1d793d2a6af091f77e805de3be /sys/amd64/ia32/ia32_exception.S
parentaf77a5abb2d01916e857eacb0dee60297d88da78 (diff)
downloadFreeBSD-src-6ff99aec8cfc17b8f4ab83a77376502b62de51ce.zip
FreeBSD-src-6ff99aec8cfc17b8f4ab83a77376502b62de51ce.tar.gz
Catch up to PCB_FULL_IRET becoming a pcb flag rather than a full field.
MFC after: 3 days
Diffstat (limited to 'sys/amd64/ia32/ia32_exception.S')
-rw-r--r--sys/amd64/ia32/ia32_exception.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S
index 6ca7afc..fe1a676 100644
--- a/sys/amd64/ia32/ia32_exception.S
+++ b/sys/amd64/ia32/ia32_exception.S
@@ -46,7 +46,7 @@ IDTVEC(int0x80_syscall)
subq $TF_ERR,%rsp /* skip over tf_trapno */
movq %rdi,TF_RDI(%rsp)
movq PCPU(CURPCB),%rdi
- movb $0,PCB_FULL_IRET(%rdi)
+ andl $~PCB_FULL_IRET,PCB_FLAGS(%rdi)
movw %fs,TF_FS(%rsp)
movw %gs,TF_GS(%rsp)
movw %es,TF_ES(%rsp)
OpenPOWER on IntegriCloud