summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi/acpi.h
diff options
context:
space:
mode:
authorPaolo Bonzini2016-03-15 15:36:13 +0100
committerPaolo Bonzini2016-05-19 16:42:28 +0200
commit87776ab72b02e3c99a042ab7a0a378bc457cc069 (patch)
tree3dbdbcb3740b2a250e5c710fbbf093484a620cbb /include/hw/acpi/acpi.h
parentqemu-common: stop including qemu/bswap.h from qemu-common.h (diff)
downloadqemu-87776ab72b02e3c99a042ab7a0a378bc457cc069.tar.gz
qemu-87776ab72b02e3c99a042ab7a0a378bc457cc069.tar.xz
qemu-87776ab72b02e3c99a042ab7a0a378bc457cc069.zip
qemu-common: stop including qemu/host-utils.h from qemu-common.h
Move it to the actual users. There are some inclusions of qemu/host-utils.h in headers, but they are all necessary. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/acpi/acpi.h')
-rw-r--r--include/hw/acpi/acpi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h
index e0978c8b92..dc6ee00885 100644
--- a/include/hw/acpi/acpi.h
+++ b/include/hw/acpi/acpi.h
@@ -150,13 +150,6 @@ void acpi_pm_tmr_init(ACPIREGS *ar, acpi_update_sci_fn update_sci,
MemoryRegion *parent);
void acpi_pm_tmr_reset(ACPIREGS *ar);
-#include "qemu/timer.h"
-static inline int64_t acpi_pm_tmr_get_clock(void)
-{
- return muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), PM_TIMER_FREQUENCY,
- NANOSECONDS_PER_SECOND);
-}
-
/* PM1a_EVT: piix and ich9 don't implement PM1b. */
uint16_t acpi_pm1_evt_get_sts(ACPIREGS *ar);
void acpi_pm1_evt_power_down(ACPIREGS *ar);