summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/trap.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-29 05:04:30 +0000
committerpeter <peter@FreeBSD.org>1997-05-29 05:04:30 +0000
commit85a1abc657a11c9909d04399db8a97458257ed06 (patch)
treead3a52b67f8bd7a196e35a1c84599df08479af6b /sys/amd64/amd64/trap.c
parent37a0f5408621e833377f5c967e750e07840f9fdf (diff)
downloadFreeBSD-src-85a1abc657a11c9909d04399db8a97458257ed06.zip
FreeBSD-src-85a1abc657a11c9909d04399db8a97458257ed06.tar.gz
remove opt_smp.h and fix the reason it was needed.
Diffstat (limited to 'sys/amd64/amd64/trap.c')
-rw-r--r--sys/amd64/amd64/trap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 0c37b9c..da31b92 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.94 1997/05/05 04:08:12 dyson Exp $
+ * $Id: trap.c,v 1.95 1997/05/07 20:08:53 peter Exp $
*/
/*
@@ -44,7 +44,6 @@
#include "opt_ktrace.h"
#include "opt_ddb.h"
-#include "opt_smp.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -88,7 +87,7 @@
#include "npx.h"
#ifdef SMP
-extern struct i386tss *SMPcommon_tss_ptr[NCPU];
+extern struct i386tss *SMPcommon_tss_ptr[];
#else
extern struct i386tss common_tss;
#endif
OpenPOWER on IntegriCloud