aboutsummaryrefslogtreecommitdiff
path: root/sys/i386
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-11-22 22:54:42 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-11-22 22:54:42 +0000
commitc21ba8d1669612bcab5b00c2be1de1c4ade80450 (patch)
tree3a90f68506ba6c121261f5bf309b03541a1052d5 /sys/i386
parente36e973da938cc46ff53ac206dbe953d54776121 (diff)
Notes
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/conf/NOTES2
-rw-r--r--sys/i386/i386/apic_vector.s3
-rw-r--r--sys/i386/i386/mp_machdep.c2
-rw-r--r--sys/i386/include/smptests.h12
4 files changed, 5 insertions, 14 deletions
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 17d1f99f0b893..c2a9b2bba8d15 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -57,6 +57,8 @@ options MP_WATCHDOG
# Debugging options.
#
options STOP_NMI # Stop CPUS using NMI instead of IPI
+options COUNT_XINVLTLB_HITS # Counters for TLB events
+options COUNT_IPIS # Per-CPU IPI interrupt counters
diff --git a/sys/i386/i386/apic_vector.s b/sys/i386/i386/apic_vector.s
index 99b765f1519c8..b3bee6926842c 100644
--- a/sys/i386/i386/apic_vector.s
+++ b/sys/i386/i386/apic_vector.s
@@ -36,9 +36,10 @@
* as well as IPI handlers.
*/
+#include "opt_smp.h"
+
#include <machine/asmacros.h>
#include <machine/apicreg.h>
-#include <machine/smptests.h>
#include "assym.s"
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index 336b4dd4a3407..5e56e492a8894 100644
--- a/sys/i386/i386/mp_machdep.c
+++ b/sys/i386/i386/mp_machdep.c
@@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$");
#include "opt_kstack_pages.h"
#include "opt_mp_watchdog.h"
#include "opt_sched.h"
+#include "opt_smp.h"
#if !defined(lint)
#if !defined(SMP)
@@ -75,7 +76,6 @@ __FBSDID("$FreeBSD$");
#include <machine/mp_watchdog.h>
#include <machine/pcb.h>
#include <machine/smp.h>
-#include <machine/smptests.h> /** COUNT_XINVLTLB_HITS */
#include <machine/specialreg.h>
#include <machine/privatespace.h>
diff --git a/sys/i386/include/smptests.h b/sys/i386/include/smptests.h
index 47b100941c18c..054613b6ed8d2 100644
--- a/sys/i386/include/smptests.h
+++ b/sys/i386/include/smptests.h
@@ -33,16 +33,4 @@
* Various 'tests in progress' and configuration parameters.
*/
-/*
- * TLB counters.
- *
-#define COUNT_XINVLTLB_HITS
- */
-
-/*
- * Per-CPU IPI interrupt counters.
- *
-#define COUNT_IPIS
- */
-
#endif /* _MACHINE_SMPTESTS_H_ */