diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-11-26 19:57:04 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-11-26 19:57:04 -0500 |
commit | 0dfa5b5d09a882a33f3aa433ad0b16898a3589ad (patch) | |
tree | 8468195649ed153995ad7d1d674878450d3dd8f0 /include/xen | |
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')
-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 { | |||
63 | /* arg == xen_domain_handle_t. */ | 63 | /* arg == xen_domain_handle_t. */ |
64 | #define XENVER_guest_handle 8 | 64 | #define XENVER_guest_handle 8 |
65 | 65 | ||
66 | /* Declares the xen_domain() macros. */ | ||
67 | #include <xen/xen.h> | ||
68 | |||
66 | /* Check if running on Xen version (major, minor) or later */ | 69 | /* Check if running on Xen version (major, minor) or later */ |
67 | static inline bool | 70 | static inline bool |
68 | xen_running_on_version_or_later(unsigned int major, unsigned int minor) | 71 | xen_running_on_version_or_later(unsigned int major, unsigned int minor) |