Cheap TEMPORARY fix for "Trap 9 When Boot SMP" problem.

This is on the top of my list for a correct fix.

Submitted by:	"Thomas D. Dean" <tomdean@ix.netcom.com>
This commit is contained in:
fsmp 1997-08-13 23:05:33 +00:00
parent a59bd0f983
commit 3f03d4937e

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: init_smp.c,v 1.12 1997/07/21 17:03:22 fsmp Exp $
* $Id: init_smp.c,v 1.13 1997/07/22 16:49:54 fsmp Exp $
*/
#include "opt_smp.h"
@ -215,6 +215,15 @@ void *dummy;
int dcnt = 0;
int apic_id;
#if 1
/*
* XXX FIXME: cheap fix for "trap 9 on boot" problem.
* this is temporary, but seems to be the most benign of our choices.
* expected to be fixed properly "real soon now".
*/
asm("pushl %ds; popl %es");
#endif
/*
* This code is executed only on startup of the idleprocs
* The fact that this is executed is an indication that the