diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-07-29 09:37:48 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-07-29 14:11:33 -0400 |
commit | ca65f9fc0c447da5b270b05c41c21b19c88617c3 (patch) | |
tree | 7a8813233d867635d01cc2c8397099df4468751d /arch/x86/xen/mmu.c | |
parent | b98a409b80ac510c95b4f1bafdef28edaeabd3e7 (diff) |
Introduce CONFIG_XEN_PVHVM compile option
This patch introduce a CONFIG_XEN_PVHVM compile time option to
enable/disable Xen PV on HVM support.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r-- | arch/x86/xen/mmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 84648c1bf138..413b19b3d0fe 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -1942,6 +1942,7 @@ void __init xen_init_mmu_ops(void) | |||
1942 | pv_mmu_ops = xen_mmu_ops; | 1942 | pv_mmu_ops = xen_mmu_ops; |
1943 | } | 1943 | } |
1944 | 1944 | ||
1945 | #ifdef CONFIG_XEN_PVHVM | ||
1945 | static void xen_hvm_exit_mmap(struct mm_struct *mm) | 1946 | static void xen_hvm_exit_mmap(struct mm_struct *mm) |
1946 | { | 1947 | { |
1947 | struct xen_hvm_pagetable_dying a; | 1948 | struct xen_hvm_pagetable_dying a; |
@@ -1973,6 +1974,7 @@ void __init xen_hvm_init_mmu_ops(void) | |||
1973 | if (is_pagetable_dying_supported()) | 1974 | if (is_pagetable_dying_supported()) |
1974 | pv_mmu_ops.exit_mmap = xen_hvm_exit_mmap; | 1975 | pv_mmu_ops.exit_mmap = xen_hvm_exit_mmap; |
1975 | } | 1976 | } |
1977 | #endif | ||
1976 | 1978 | ||
1977 | #ifdef CONFIG_XEN_DEBUG_FS | 1979 | #ifdef CONFIG_XEN_DEBUG_FS |
1978 | 1980 | ||