diff options
author | Alexander Graf <agraf@suse.de> | 2010-07-29 14:47:56 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 10:50:49 +0200 |
commit | ba492962363a02c45836be205f339be48093e1be (patch) | |
tree | e2cdfefd0dfaeb30fc89a0c3a0f82a58a3e747d9 /include/linux/kvm_para.h | |
parent | 5fc87407b55f5799418f4dc5931232c2bc06d077 (diff) | |
download | linux-ba492962363a02c45836be205f339be48093e1be.tar.gz linux-ba492962363a02c45836be205f339be48093e1be.tar.bz2 linux-ba492962363a02c45836be205f339be48093e1be.zip |
KVM: Move kvm_guest_init out of generic code
Currently x86 is the only architecture that uses kvm_guest_init(). With
PowerPC we're getting a second user, but the signature is different there
and we don't need to export it, as it uses the normal kernel init framework.
So let's move the x86 specific definition of that function over to the x86
specfic header file.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_para.h')
-rw-r--r-- | include/linux/kvm_para.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kvm_para.h b/include/linux/kvm_para.h index ac2015a25012..47a070b0520e 100644 --- a/include/linux/kvm_para.h +++ b/include/linux/kvm_para.h @@ -26,11 +26,6 @@ #include <asm/kvm_para.h> #ifdef __KERNEL__ -#ifdef CONFIG_KVM_GUEST -void __init kvm_guest_init(void); -#else -#define kvm_guest_init() do { } while (0) -#endif static inline int kvm_para_has_feature(unsigned int feature) { |