summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-03-08 03:58:50 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-03-08 03:58:50 +0000
commit27d6312bf7b744a7e8485139106650cd6657e76a (patch)
treea04600fe52eb96ae8d9f72e9931b3b6bc85261c8 /sys/kern/kern_thread.c
parent9ed0566b91de3201d43d8a7d13ccf5cde1e0debb (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud