From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm.h: __user requires compiler.h Date: Tue, 18 Mar 2008 08:50:07 +0200 Message-ID: <47DF661F.2050006@qumranet.com> References: <200803121810.46055.borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: Christian Borntraeger Return-path: In-Reply-To: <200803121810.46055.borntraeger@de.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Christian Borntraeger wrote: > 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. > Applied, thanks. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/