summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-11 05:39:15 +0000
committernjl <njl@FreeBSD.org>2004-10-11 05:39:15 +0000
commitabd4abd5bde7b89f9bfa1f389c3cd5f5394d9631 (patch)
treea73d71113eb92df36ffa37efd3031bb3c11a1489 /sys/dev/acpica
parentbc7aea493bcaeac179e22ccbf789af1f6fc3a312 (diff)
downloadFreeBSD-src-abd4abd5bde7b89f9bfa1f389c3cd5f5394d9631.zip
FreeBSD-src-abd4abd5bde7b89f9bfa1f389c3cd5f5394d9631.tar.gz
Move the code for halting the CPU (acpi_cpu_c1) into machdep files.
This removes the last MD portion of acpi_cpu.c. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_cpu.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c
index 7d172f2..e6da6b9 100644
--- a/sys/dev/acpica/acpi_cpu.c
+++ b/sys/dev/acpica/acpi_cpu.c
@@ -43,9 +43,6 @@ __FBSDID("$FreeBSD$");
#include <dev/pci/pcivar.h>
#include <machine/atomic.h>
#include <machine/bus.h>
-#ifdef __ia64__
-#include <machine/pal.h>
-#endif
#include <sys/rman.h>
#include "acpi.h"
@@ -155,7 +152,6 @@ static void acpi_cpu_startup_throttling(void);
static void acpi_cpu_startup_cx(void);
static void acpi_cpu_throttle_set(uint32_t speed);
static void acpi_cpu_idle(void);
-static void acpi_cpu_c1(void);
static void acpi_cpu_notify(ACPI_HANDLE h, UINT32 notify, void *context);
static int acpi_cpu_quirks(struct acpi_cpu_softc *sc);
static int acpi_cpu_throttle_sysctl(SYSCTL_HANDLER_ARGS);
@@ -918,17 +914,6 @@ acpi_cpu_idle()
ACPI_ENABLE_IRQS();
}
-/* Put the CPU in C1 in a machine-dependant way. */
-static void
-acpi_cpu_c1()
-{
-#ifdef __ia64__
- ia64_call_pal_static(PAL_HALT_LIGHT, 0, 0, 0);
-#else
- __asm __volatile("sti; hlt");
-#endif
-}
-
/*
* Re-evaluate the _PSS and _CST objects when we are notified that they
* have changed.
OpenPOWER on IntegriCloud