Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a03d7f4b544f699bbdd3cf14692bd8f476cb9d24 Commit: a03d7f4b544f699bbdd3cf14692bd8f476cb9d24 Parent: 6c14280125a374d4c279a68276f97245e03e3f68 Author: Glauber de Oliveira Costa <[EMAIL PROTECTED]> AuthorDate: Tue Jan 15 13:10:15 2008 -0200 Committer: Avi Kivity <[EMAIL PROTECTED]> CommitDate: Wed Jan 30 18:01:22 2008 +0200
KVM: Put kvm_para.h include outside __KERNEL__ kvm_para.h potentially contains definitions that are to be used by userspace, so it should not be included inside the __KERNEL__ block. To protect its own data structures, kvm_para.h already includes its own __KERNEL__ block. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Acked-by: Amit Shah <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- include/linux/kvm_para.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/kvm_para.h b/include/linux/kvm_para.h index 6af91a5..5497aac 100644 --- a/include/linux/kvm_para.h +++ b/include/linux/kvm_para.h @@ -14,12 +14,12 @@ #define KVM_HC_VAPIC_POLL_IRQ 1 -#ifdef __KERNEL__ /* * hypercalls use architecture specific */ #include <asm/kvm_para.h> +#ifdef __KERNEL__ static inline int kvm_para_has_feature(unsigned int feature) { if (kvm_arch_para_features() & (1UL << feature)) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html