diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-05-18 13:59:39 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-05-21 10:47:52 -0400 |
commit | 322728e55aa7834e2fab2786b76df183c4843a12 (patch) | |
tree | ccd2211d5f88d8875155d693a776f68efb03c2d5 /include/asm-generic/kvm_para.h | |
parent | 46a6dd1c87c4ff17202574127daf70cc0bb38d6d (diff) |
KVM: make asm-generic/kvm_para.h have an ifdef __KERNEL__ block
There are two functions in this asm-generic file. Looking at
other arch which do not use the generic version, these two fcns
are within an #ifdef __KERNEL__ block, so make the generic one
consistent with those.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/asm-generic/kvm_para.h')
-rw-r--r-- | include/asm-generic/kvm_para.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h index 9a7bbadb688d..5cba37f9eae1 100644 --- a/include/asm-generic/kvm_para.h +++ b/include/asm-generic/kvm_para.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _ASM_GENERIC_KVM_PARA_H | 1 | #ifndef _ASM_GENERIC_KVM_PARA_H |
2 | #define _ASM_GENERIC_KVM_PARA_H | 2 | #define _ASM_GENERIC_KVM_PARA_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | ||
4 | 5 | ||
5 | /* | 6 | /* |
6 | * This function is used by architectures that support kvm to avoid issuing | 7 | * This function is used by architectures that support kvm to avoid issuing |
@@ -16,4 +17,6 @@ static inline unsigned int kvm_arch_para_features(void) | |||
16 | return 0; | 17 | return 0; |
17 | } | 18 | } |
18 | 19 | ||
20 | #endif /* _KERNEL__ */ | ||
21 | |||
19 | #endif | 22 | #endif |