diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-11-27 17:39:40 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-11-28 20:39:31 +0100 |
commit | 394b40f62d7ae18a1c48c13fc483b8193f8c3a98 (patch) | |
tree | 1ed5bcd5dd1adbc35132ee486eef5efaef0de110 /drivers/xen/xen-acpi-pad.c | |
parent | xen/xenbus: Remove duplicate inclusion of asm/xen/hypervisor.h (diff) | |
download | linux-394b40f62d7ae18a1c48c13fc483b8193f8c3a98.tar.xz linux-394b40f62d7ae18a1c48c13fc483b8193f8c3a98.zip |
xen/acpi: Move the xen_running_on_version_or_later function.
As on ia64 builds we get:
include/xen/interface/version.h: In function 'xen_running_on_version_or_later':
include/xen/interface/version.h:76: error: implicit declaration of function 'HYPERVISOR_xen_version'
We can later on make this function exportable if there are
modules using part of it. For right now the only two users are
built-in.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xen-acpi-pad.c')
-rw-r--r-- | drivers/xen/xen-acpi-pad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xen-acpi-pad.c b/drivers/xen/xen-acpi-pad.c index f23ecf380088..da39191e7278 100644 --- a/drivers/xen/xen-acpi-pad.c +++ b/drivers/xen/xen-acpi-pad.c @@ -20,6 +20,7 @@ #include <acpi/acpi_drivers.h> #include <asm/xen/hypercall.h> #include <xen/interface/version.h> +#include <xen/xen-ops.h> #define ACPI_PROCESSOR_AGGREGATOR_CLASS "acpi_pad" #define ACPI_PROCESSOR_AGGREGATOR_DEVICE_NAME "Processor Aggregator" |