diff options
| author | David Xu <davidxu@FreeBSD.org> | 2002-11-22 11:43:06 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2002-11-22 11:43:06 +0000 |
| commit | 4949943c48cdc2e889eabc9372939aeea31a425b (patch) | |
| tree | cd8200d6c38b101fe76cf17a065b8870c70d60f0 /lib/libkse | |
| parent | 8773cd90dd3e3e58cac51f60dbb151e3e3968868 (diff) | |
Notes
Diffstat (limited to 'lib/libkse')
| -rw-r--r-- | lib/libkse/arch/i386/i386/thr_enter_uts.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkse/arch/i386/i386/thr_enter_uts.S b/lib/libkse/arch/i386/i386/thr_enter_uts.S index 8d38b0f5ee7f..10edd3fabfe6 100644 --- a/lib/libkse/arch/i386/i386/thr_enter_uts.S +++ b/lib/libkse/arch/i386/i386/thr_enter_uts.S @@ -79,7 +79,8 @@ ENTRY(_thread_enter_uts) */ fnstcw MC_FP_CW_OFFSET(%edx) movl $0, MC_OWNEDFP_OFFSET(%edx) /* no FP */ - lahf /* get eflags */ + pushfl /* get eflags */ + popl %eax movl %eax, 68(%edx) /* store eflags */ movl %esp, %eax /* setcontext pushes the return */ addl $4, %eax /* address onto the top of the */ |
