From 71b15156e4f1b459aee6be52c8287115ba932051 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 27 Jun 2004 09:08:44 +0000 Subject: [PATCH] Add note to cpu_idle_hook (which is currently asserted so the code doesn't actually run) ... that when we do eventually try to hook it in, we probably should only hook it in when ncpus == 1 and otherwise not. --- sys/dev/acpica5/acpi_cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/acpica5/acpi_cpu.c b/sys/dev/acpica5/acpi_cpu.c index 3d2bdae0b4..592f2a87df 100644 --- a/sys/dev/acpica5/acpi_cpu.c +++ b/sys/dev/acpica5/acpi_cpu.c @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/acpica/acpi_cpu.c,v 1.36 2004/05/07 05:22:37 njl Exp $ - * $DragonFly: src/sys/dev/acpica5/acpi_cpu.c,v 1.3 2004/06/27 08:52:39 dillon Exp $ + * $DragonFly: src/sys/dev/acpica5/acpi_cpu.c,v 1.4 2004/06/27 09:08:44 dillon Exp $ */ #include "opt_acpi.h" @@ -774,6 +774,7 @@ acpi_cpu_startup_cx() /* Take over idling from cpu_idle_default_hook(). */ cpu_cx_next = cpu_cx_lowest; KKASSERT(0); + /* XXX only set this if ncpus == 1, for now XXX */ cpu_idle_hook = acpi_cpu_idle; } -- 2.41.0