lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 7 Nov 2007 16:21:03 +0200 From: Amit Shah <amit.shah@...ranet.com> To: kvm-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org Cc: Amit Shah <amit.shah@...ranet.com> Subject: [PATCH 2/8] KVM: Move #include asm/kvm_para.h outside of __KERNEL__ We have some structures defined which are going to be used by userspace for ioctls. Signed-off-by: Amit Shah <amit.shah@...ranet.com> --- include/linux/kvm_para.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/linux/kvm_para.h b/include/linux/kvm_para.h index e4db25f..ff6ac27 100644 --- a/include/linux/kvm_para.h +++ b/include/linux/kvm_para.h @@ -12,12 +12,12 @@ /* Return values for hypercalls */ #define KVM_ENOSYS 1000 -#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)) @@ -26,4 +26,3 @@ static inline int kvm_para_has_feature(unsigned int feature) } #endif /* __KERNEL__ */ #endif /* __LINUX_KVM_PARA_H */ - -- 1.5.3 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists