summaryrefslogtreecommitdiffstats
path: root/include/xen/xen-ops.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-11-27 17:39:40 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-11-28 20:39:31 +0100
commit394b40f62d7ae18a1c48c13fc483b8193f8c3a98 (patch)
tree1ed5bcd5dd1adbc35132ee486eef5efaef0de110 /include/xen/xen-ops.h
parentxen/xenbus: Remove duplicate inclusion of asm/xen/hypervisor.h (diff)
downloadlinux-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 'include/xen/xen-ops.h')
-rw-r--r--include/xen/xen-ops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index 6a198e46ab6e..6170abd53d0b 100644
--- a/include/xen/xen-ops.h
+++ b/include/xen/xen-ops.h
@@ -29,4 +29,5 @@ int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
unsigned long mfn, int nr,
pgprot_t prot, unsigned domid);
+bool xen_running_on_version_or_later(unsigned int major, unsigned int minor);
#endif /* INCLUDE_XEN_OPS_H */