summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2005-05-13 00:57:04 +0000
committernectar <nectar@FreeBSD.org>2005-05-13 00:57:04 +0000
commit64cab37f279b923f444589fcb374fd018cb6789f (patch)
treedf45ad9bed3877a91e688ccc3e2a716ac8687531
parent9ee23cec0308ecdb7139c33a3d6d1f5d7bc62037 (diff)
downloadFreeBSD-src-64cab37f279b923f444589fcb374fd018cb6789f.zip
FreeBSD-src-64cab37f279b923f444589fcb374fd018cb6789f.tar.gz
Default hyperthreading on in -CURRENT. No seatbelts in CURRENT (^_^)
Requested by: peter, jhb
-rw-r--r--sys/amd64/amd64/mp_machdep.c2
-rw-r--r--sys/i386/i386/mp_machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index aca90658..d78e36b 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -144,7 +144,7 @@ static void release_aps(void *dummy);
static int hlt_logical_cpus;
static u_int hyperthreading_cpus;
static cpumask_t hyperthreading_cpus_mask;
-static int hyperthreading_allowed;
+static int hyperthreading_allowed = 1;
static struct sysctl_ctx_list logical_cpu_clist;
static u_int bootMP_size;
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index e60164d..01e384b 100644
--- a/sys/i386/i386/mp_machdep.c
+++ b/sys/i386/i386/mp_machdep.c
@@ -216,7 +216,7 @@ static void release_aps(void *dummy);
static int hlt_logical_cpus;
static u_int hyperthreading_cpus;
static cpumask_t hyperthreading_cpus_mask;
-static int hyperthreading_allowed;
+static int hyperthreading_allowed = 1;
static struct sysctl_ctx_list logical_cpu_clist;
static void
OpenPOWER on IntegriCloud