diff options
author | neel <neel@FreeBSD.org> | 2010-09-14 01:48:01 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2010-09-14 01:48:01 +0000 |
commit | eb7e545e67ec1af5b14e3b48d16296b1fa250715 (patch) | |
tree | 41c15a39b43d470110e3c8e9420ad055fa70a094 /sys/kern/subr_taskqueue.c | |
parent | 362fdc76797715c62d6ca52e360da11de80f8220 (diff) | |
download | FreeBSD-src-eb7e545e67ec1af5b14e3b48d16296b1fa250715.zip FreeBSD-src-eb7e545e67ec1af5b14e3b48d16296b1fa250715.tar.gz |
Port r212559 to mips.
Do not explicitly enable interrupts in smp_init_secondary() because it
renders any spinlock protected code after that point to run with
interrupts enabled. This is because the processor is executing in the
context of idlethread whose 'md_spinlock_count' is already set to 1.
Instead just let sched_throw() re-enable interrupts when it releases
the spinlock.
The original powerpc commit log for r212559 is available here:
http://svn.freebsd.org/viewvc/base?view=revision&revision=212559
Diffstat (limited to 'sys/kern/subr_taskqueue.c')
0 files changed, 0 insertions, 0 deletions