aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/pmtimer.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-07 07:50:20 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-10-07 07:50:20 +0100
commitaf78c0b35d00dac353936ad6f8afc7f01f91c6d2 (patch)
treeecc92aaab03a47ed5433e94f233de4413f684c46 /xen/arch/x86/hvm/pmtimer.c
parent636eaa12d90b7151f454ec45dd47679292ece9ab (diff)
downloadxen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.gz
xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.bz2
xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.zip
Scattered code arrangement cleanups.
- remove redundant declarations - add/move prototypes to headers - move things where they belong to Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/arch/x86/hvm/pmtimer.c')
-rw-r--r--xen/arch/x86/hvm/pmtimer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/pmtimer.c b/xen/arch/x86/hvm/pmtimer.c
index 276538f028..0a0b326efe 100644
--- a/xen/arch/x86/hvm/pmtimer.c
+++ b/xen/arch/x86/hvm/pmtimer.c
@@ -21,6 +21,7 @@
#include <asm/hvm/vpt.h>
#include <asm/hvm/io.h>
#include <asm/hvm/support.h>
+#include <asm/acpi.h> /* for hvm_acpi_power_button prototype */
/* Slightly more readable port I/O addresses for the registers we intercept */
#define PM1a_STS_ADDR (ACPI_PM1A_EVT_BLK_ADDRESS)