]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/powerpc/kvm/book3s_exports.c
KVM: PPC: Add support for Book3S processors in hypervisor mode
[mirror_ubuntu-zesty-kernel.git] / arch / powerpc / kvm / book3s_exports.c
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License, version 2, as
4 * published by the Free Software Foundation.
5 *
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
10 *
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14 *
15 * Copyright SUSE Linux Products GmbH 2009
16 *
17 * Authors: Alexander Graf <agraf@suse.de>
18 */
19
20 #include <linux/module.h>
21 #include <asm/kvm_book3s.h>
22
23 #ifdef CONFIG_KVM_BOOK3S_64_HV
24 EXPORT_SYMBOL_GPL(kvmppc_hv_entry_trampoline);
25 #else
26 EXPORT_SYMBOL_GPL(kvmppc_handler_trampoline_enter);
27 EXPORT_SYMBOL_GPL(kvmppc_handler_lowmem_trampoline);
28 EXPORT_SYMBOL_GPL(kvmppc_rmcall);
29 EXPORT_SYMBOL_GPL(kvmppc_load_up_fpu);
30 #ifdef CONFIG_ALTIVEC
31 EXPORT_SYMBOL_GPL(kvmppc_load_up_altivec);
32 #endif
33 #ifdef CONFIG_VSX
34 EXPORT_SYMBOL_GPL(kvmppc_load_up_vsx);
35 #endif
36 #endif
37