aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2026-06-26 14:40:50 +0000
committerOlivier Certner <olce@FreeBSD.org>2026-06-26 15:06:54 +0000
commit98a77972381c6bb5ceda375fd1db7dccb3a1c89e (patch)
tree94999766b7f093eae2e1393120a038c637186f2f
parent4e9d303c8300c6674230ff1cdcb317edb27b48cc (diff)
-rw-r--r--sys/dev/acpica/acpi_cpu.c5
-rw-r--r--sys/x86/include/init.h3
2 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c
index 6eb364db276b..d2358f7077e5 100644
--- a/sys/dev/acpica/acpi_cpu.c
+++ b/sys/dev/acpica/acpi_cpu.c
@@ -140,9 +140,6 @@ struct acpi_cpu_device {
#define CPUDEV_DEVICE_ID "ACPI0007"
-/* Knob to disable acpi_cpu devices */
-bool acpi_cpu_disabled = false;
-
/* Platform hardware resource information. */
static uint32_t cpu_smi_cmd; /* Value to write to SMI_CMD. */
static uint8_t cpu_cst_cnt; /* Indicate we are _CST aware. */
@@ -239,7 +236,7 @@ acpi_cpu_probe(device_t dev)
ACPI_STATUS status;
ACPI_OBJECT_TYPE type;
- if (acpi_disabled("cpu") || acpi_cpu_disabled)
+ if (acpi_disabled("cpu"))
return (ENXIO);
type = acpi_get_type(dev);
if (type != ACPI_TYPE_PROCESSOR && type != ACPI_TYPE_DEVICE)
diff --git a/sys/x86/include/init.h b/sys/x86/include/init.h
index f8979ca74d7f..1977f4729487 100644
--- a/sys/x86/include/init.h
+++ b/sys/x86/include/init.h
@@ -43,9 +43,6 @@ struct init_ops {
extern struct init_ops init_ops;
-/* Knob to disable acpi_cpu devices */
-extern bool acpi_cpu_disabled;
-
/* Knob to disable acpi_hpet device */
extern bool acpi_hpet_disabled;