summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2003-04-04 23:54:46 +0000
committertegge <tegge@FreeBSD.org>2003-04-04 23:54:46 +0000
commit766eadf040b6f30cf49399bb0ca77faafda26c9a (patch)
tree0d73c95b806db945c1d73a351c7f290aed41b09c /sys/amd64
parent9eaffccc28225fffdec62c84c9d21a13622fcae4 (diff)
downloadFreeBSD-src-766eadf040b6f30cf49399bb0ca77faafda26c9a.zip
FreeBSD-src-766eadf040b6f30cf49399bb0ca77faafda26c9a.tar.gz
Add SMP_TSC option, which can be used on SMP systems where the TSCs
are synchronized to reduce context switch cost.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index e12a48d..abc6a93 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -77,7 +77,7 @@ init_TSC(void)
if (bootverbose)
printf("TSC clock: %ju Hz\n", (intmax_t)tsc_freq);
-#if defined(SMP)
+#if defined(SMP) && !defined(SMP_TSC)
/*
* We can not use the TSC in SMP mode, until we figure out a
* cheap (impossible), reliable and precise (yeah right!) way
OpenPOWER on IntegriCloud