Messages in this thread Patch in this message | | | From | Avi Kivity <> | Subject | [PATCH 27/35] KVM: kvm.h: __user requires compiler.h | Date | Thu, 3 Apr 2008 22:32:42 +0300 |
| |
From: Christian Borntraeger <borntraeger@de.ibm.com>
include/linux/kvm.h defines struct kvm_dirty_log to [...] union { void __user *dirty_bitmap; /* one bit per page */ __u64 padding; };
__user requires compiler.h to compile. Currently, this works on x86 only coincidentally due to other include files. This patch makes kvm.h compile in all cases.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com> --- include/linux/kvm.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index c1b502a..3bd3828 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -8,6 +8,7 @@ */ #include <asm/types.h> +#include <linux/compiler.h> #include <linux/ioctl.h> #include <asm/kvm.h> -- 1.5.4.5
| |