diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/xen/xen-ops.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index 0b3149ed7eaa..771bbba27ccb 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | #include <linux/percpu.h> | 4 | #include <linux/percpu.h> |
| 5 | #include <linux/notifier.h> | 5 | #include <linux/notifier.h> |
| 6 | #include <linux/efi.h> | ||
| 6 | #include <asm/xen/interface.h> | 7 | #include <asm/xen/interface.h> |
| 7 | 8 | ||
| 8 | DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu); | 9 | DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu); |
| @@ -35,4 +36,14 @@ int xen_unmap_domain_mfn_range(struct vm_area_struct *vma, | |||
| 35 | int numpgs, struct page **pages); | 36 | int numpgs, struct page **pages); |
| 36 | 37 | ||
| 37 | bool xen_running_on_version_or_later(unsigned int major, unsigned int minor); | 38 | bool xen_running_on_version_or_later(unsigned int major, unsigned int minor); |
| 39 | |||
| 40 | #ifdef CONFIG_XEN_EFI | ||
| 41 | extern efi_system_table_t *xen_efi_probe(void); | ||
| 42 | #else | ||
| 43 | static efi_system_table_t __init *xen_efi_probe(void) | ||
| 44 | { | ||
| 45 | return NULL; | ||
| 46 | } | ||
| 47 | #endif | ||
| 48 | |||
| 38 | #endif /* INCLUDE_XEN_OPS_H */ | 49 | #endif /* INCLUDE_XEN_OPS_H */ |
