From 97a56adfe0cdbcba8bb72330cc69d6eabada9827 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 11 Nov 2003 17:16:15 +0000 Subject: [PATCH] Enable HTT CPUs by default instead of halting them by default. Users should now only have HTT CPUs if they have explicitly asked for them either by enabling HyperThreading in the BIOS or by using the MPTABLE_FORCE_HTT kernel option. --- sys/amd64/amd64/mp_machdep.c | 2 +- sys/i386/i386/mp_machdep.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 52656b776a36..1c246e98407d 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -215,7 +215,7 @@ static int start_ap(int apic_id); static void release_aps(void *dummy); static int hlt_cpus_mask; -static int hlt_logical_cpus = 1; +static int hlt_logical_cpus; static struct sysctl_ctx_list logical_cpu_clist; /* diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 52656b776a36..1c246e98407d 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -215,7 +215,7 @@ static int start_ap(int apic_id); static void release_aps(void *dummy); static int hlt_cpus_mask; -static int hlt_logical_cpus = 1; +static int hlt_logical_cpus; static struct sysctl_ctx_list logical_cpu_clist; /*