diff options
Diffstat (limited to 'arch/arm/include/asm/xen/hypervisor.h')
-rw-r--r-- | arch/arm/include/asm/xen/hypervisor.h | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/arch/arm/include/asm/xen/hypervisor.h b/arch/arm/include/asm/xen/hypervisor.h index 95251512e2c4..d6e7709d0688 100644 --- a/arch/arm/include/asm/xen/hypervisor.h +++ b/arch/arm/include/asm/xen/hypervisor.h | |||
@@ -1,39 +1 @@ | |||
1 | #ifndef _ASM_ARM_XEN_HYPERVISOR_H | #include <xen/arm/hypervisor.h> | |
2 | #define _ASM_ARM_XEN_HYPERVISOR_H | ||
3 | |||
4 | #include <linux/init.h> | ||
5 | |||
6 | extern struct shared_info *HYPERVISOR_shared_info; | ||
7 | extern struct start_info *xen_start_info; | ||
8 | |||
9 | /* Lazy mode for batching updates / context switch */ | ||
10 | enum paravirt_lazy_mode { | ||
11 | PARAVIRT_LAZY_NONE, | ||
12 | PARAVIRT_LAZY_MMU, | ||
13 | PARAVIRT_LAZY_CPU, | ||
14 | }; | ||
15 | |||
16 | static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void) | ||
17 | { | ||
18 | return PARAVIRT_LAZY_NONE; | ||
19 | } | ||
20 | |||
21 | extern struct dma_map_ops *xen_dma_ops; | ||
22 | |||
23 | #ifdef CONFIG_XEN | ||
24 | void __init xen_early_init(void); | ||
25 | #else | ||
26 | static inline void xen_early_init(void) { return; } | ||
27 | #endif | ||
28 | |||
29 | #ifdef CONFIG_HOTPLUG_CPU | ||
30 | static inline void xen_arch_register_cpu(int num) | ||
31 | { | ||
32 | } | ||
33 | |||
34 | static inline void xen_arch_unregister_cpu(int num) | ||
35 | { | ||
36 | } | ||
37 | #endif | ||
38 | |||
39 | #endif /* _ASM_ARM_XEN_HYPERVISOR_H */ | ||