summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-11-27 00:57:04 (GMT)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-11-27 00:57:04 (GMT)
commit0dfa5b5d09a882a33f3aa433ad0b16898a3589ad (patch)
tree8468195649ed153995ad7d1d674878450d3dd8f0 /include/xen
parente3aa4e61b57da7574fdd1b4c9ca9bdee06a4d23e (diff)
downloadlinux-0dfa5b5d09a882a33f3aa433ad0b16898a3589ad.tar.xz
xen/acpi: Fix compile error by missing decleration for xen_domain.
Commit 92e3229dcdc80ff0b6304f14c578d76e7e10e226 ("xen/acpi: ACPI PAD driver") adds a new function but forgets to use the right header. Without it, we get: In file included from drivers/xen/features.c:15:0: include/xen/interface/version.h: In function ‘xen_running_on_version_or_later’: include/xen/interface/version.h:72:2: error: implicit declaration of function ‘xen_domain’ [-Werror=implicit-function-declaration] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/interface/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h
index 96d8d3d..53553f0 100644
--- a/include/xen/interface/version.h
+++ b/include/xen/interface/version.h
@@ -63,6 +63,9 @@ struct xen_feature_info {
/* arg == xen_domain_handle_t. */
#define XENVER_guest_handle 8
+/* Declares the xen_domain() macros. */
+#include <xen/xen.h>
+
/* Check if running on Xen version (major, minor) or later */
static inline bool
xen_running_on_version_or_later(unsigned int major, unsigned int minor)