diff options
author | Konrad Rzeszutek Wilk | 2012-11-26 19:57:04 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk | 2012-11-26 19:57:04 -0500 |
commit | 0dfa5b5d09a882a33f3aa433ad0b16898a3589ad (patch) | |
tree | 8468195649ed153995ad7d1d674878450d3dd8f0 /include/xen/interface | |
parent | e3aa4e61b57da7574fdd1b4c9ca9bdee06a4d23e (diff) |
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/interface')
-rw-r--r-- | include/xen/interface/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h index 96d8d3deea6b..53553f046497 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) |