Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215690
b: refs/heads/master
c: ba49296
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Graf authored and Avi Kivity committed Oct 24, 2010
1 parent bf887de commit d382ad5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fc87407b55f5799418f4dc5931232c2bc06d077
refs/heads/master: ba492962363a02c45836be205f339be48093e1be
6 changes: 6 additions & 0 deletions trunk/arch/x86/include/asm/kvm_para.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ static inline unsigned int kvm_arch_para_features(void)
return cpuid_eax(KVM_CPUID_FEATURES);
}

#ifdef CONFIG_KVM_GUEST
void __init kvm_guest_init(void);
#else
#define kvm_guest_init() do { } while (0)
#endif

#endif /* __KERNEL__ */

#endif /* _ASM_X86_KVM_PARA_H */
5 changes: 0 additions & 5 deletions trunk/include/linux/kvm_para.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d382ad5

Please sign in to comment.