An SMP-specific change: eliminate another check on bsp_apic_ready.

(See rev 1.23.)
This commit is contained in:
Alan Cox 1999-07-17 18:34:32 +00:00
parent 835646d6ef
commit 1ce1a8bf67
1 changed files with 1 additions and 10 deletions

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ipl_funcs.c,v 1.24 1999/07/11 19:24:41 phk Exp $
* $Id: ipl_funcs.c,v 1.25 1999/07/12 07:22:08 phk Exp $
*/
#include <sys/types.h>
@ -259,16 +259,7 @@ splx(unsigned ipl)
int unpend;
#ifdef INTR_SPL
SPIN_VAR;
#endif
if (!bsp_apic_ready) {
cpl = ipl;
if (ipending & ~ipl)
splz();
return;
}
#ifdef INTR_SPL
for (;;) {
IFCPL_LOCK();
POSTCODE_HI(0xe);