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)
commit97646202bc3f190dfcb48a3d506ea2445717d392
tree0715fd746a29360522154e0a15f91da94a243555
parent1e977aa12dd4f80688b1f243762212e75c6d7fe8
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