diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-03-08 03:58:50 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-03-08 03:58:50 +0000 |
commit | 27d6312bf7b744a7e8485139106650cd6657e76a (patch) | |
tree | a04600fe52eb96ae8d9f72e9931b3b6bc85261c8 /sys/kern/kern_thread.c | |
parent | 9ed0566b91de3201d43d8a7d13ccf5cde1e0debb (diff) | |
download | FreeBSD-src-27d6312bf7b744a7e8485139106650cd6657e76a.zip FreeBSD-src-27d6312bf7b744a7e8485139106650cd6657e76a.tar.gz |
Initialize eflags in fake frame to default value rather than random one.
The random value sometimes causes macro CLKF_USERMODE to return true
because PSL_VM bit is set and really shoudn't be, this causes statclock()
to execute in wrong path, and further breaks KSE code and kernel crashes
when executing threaded program.
Diffstat (limited to 'sys/kern/kern_thread.c')
0 files changed, 0 insertions, 0 deletions