]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: kvm.h: __user requires compiler.h
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 12 Mar 2008 17:10:45 +0000 (18:10 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:00:32 +0000 (12:00 +0300)
commitc2c0c3d6ebca9ad83c3ba5be24b67c9b297ff671
tree0715fd746a29360522154e0a15f91da94a243555
parent6cc610b73ed7de37561f1df6d2a5c60941e3d0c3
KVM: kvm.h: __user requires compiler.h

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