aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-02-15 12:24:17 +0000
committerIan Campbell <ian.campbell@citrix.com>2012-02-15 12:24:17 +0000
commit2b871cd871792f5cdac9dd318b0992be172bf083 (patch)
tree635c5827a3a180df212d733d9e7fd2ead6c5b407 /xen/Rules.mk
parent71f3f2ab7412d350208b6aa97313e43587906b60 (diff)
downloadxen-2b871cd871792f5cdac9dd318b0992be172bf083.tar.gz
xen-2b871cd871792f5cdac9dd318b0992be172bf083.tar.bz2
xen-2b871cd871792f5cdac9dd318b0992be172bf083.zip
PM: only include XEN_SYSCTL_{get_pmstat,pm_op} if HAVE_ACPI
These hypercalls are currently ACPI specific and implemented in xen/drivers/acpi which is not implemented on ARM. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: keir@xen.org Committed-by: Ian Campbell <Ian.Campbell@citrix.com>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 507e9abe38..ee54179757 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -50,6 +50,7 @@ CFLAGS-$(crash_debug) += -DCRASH_DEBUG
CFLAGS-$(perfc) += -DPERF_COUNTERS
CFLAGS-$(perfc_arrays) += -DPERF_ARRAYS
CFLAGS-$(lock_profile) += -DLOCK_PROFILE
+CFLAGS-$(HAS_ACPI) += -DHAS_ACPI
CFLAGS-$(frame_pointer) += -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER
ifneq ($(max_phys_cpus),)