aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-10-11 05:39:15 +0000
committerNate Lawson <njl@FreeBSD.org>2004-10-11 05:39:15 +0000
commit31ad3b8802c0ba40f91664c225a580f309e51609 (patch)
treea73d71113eb92df36ffa37efd3031bb3c11a1489 /sys/dev
parent905454c86c74bd47d284910daa6834665e86e4a8 (diff)
Notes
Diffstat (limited to 'sys/dev')
-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 7d172f26eb551..e6da6b9a60200 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.