Date: Mon, 13 Sep 2010 15:36:42 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/powerpc mp_machdep.c Message-ID: <201009131536.o8DFapGf083605@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-09-13 15:36:42 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc mp_machdep.c Log: SVN rev 212559 on 2010-09-13 15:36:42Z by nwhitehorn Fix a subtle bug uncovered by the recent one-shot timer import in which any spin locks acquired between the enabling of interrupts in machdep_ap_bootstrap() and the invocation of the scheduler would fail to have interrupts disabled due to the fake spinlock already held by the idle thread. sched_throw(NULL) will enable interrupts by itself when exiting this spinlock, so just let it do that and don't enable interrupts here. Revision Changes Path 1.34 +0 -3 src/sys/powerpc/powerpc/mp_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009131536.o8DFapGf083605>