From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Use CONFIG_PREEMPT_NOTIFIERS around struct preempt_notifier Date: Wed, 30 Jan 2008 11:55:50 +0200 Message-ID: <47A049A6.6070007@qumranet.com> References: <6a2f4869cf5da00fa0cc.1201563754@basalt> <479FB535.5080302@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Hollis Blanchard To: Chris Lalancette Return-path: In-Reply-To: <479FB535.5080302-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Chris Lalancette wrote: > Hollis Blanchard wrote: > >> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h >> --- a/include/linux/kvm_host.h >> +++ b/include/linux/kvm_host.h >> @@ -67,7 +67,9 @@ void kvm_io_bus_register_dev(struct kvm_ >> >> struct kvm_vcpu { >> struct kvm *kvm; >> +#ifdef CONFIG_PREEMPT_NOTIFIERS >> struct preempt_notifier preempt_notifier; >> +#endif >> int vcpu_id; >> struct mutex mutex; >> int cpu; >> > > Hm, this causes my build to fail on x86_64: > > I pushed a fix for this. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/