]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r240475
authorhiren <hiren@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 May 2013 22:01:22 +0000 (22:01 +0000)
committerhiren <hiren@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 May 2013 22:01:22 +0000 (22:01 +0000)
commit7cb4fc5135c5d804a504b8afb2325fac57e6a14d
tree6209115d9e2b9bea06c360804d83dd86412d5b30
parent866315e832e58a239cba09515c617d45ab49cf40
MFC: r240475

Remove all the checks on curthread != NULL with the exception of some MD
trap checks (eg. printtrap()).

Generally this check is not needed anymore, as there is not a legitimate
case where curthread != NULL, after pcpu 0 area has been properly
initialized.

Reviewed by: attilio
Approved by: sbruno (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/9@250581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hwpmc/hwpmc_arm.c
sys/dev/hwpmc/hwpmc_x86.c
sys/kern/kern_condvar.c
sys/kern/kern_mutex.c
sys/kern/kern_rwlock.c
sys/kern/kern_sx.c
sys/kern/kern_thread.c
sys/kern/vfs_subr.c