From: Avi Kivity Subject: Re: [PATCH] KVM: MCE: Fix compiling without CONFIG_X86_MCE Date: Wed, 10 Jun 2009 12:08:29 +0300 Message-ID: <4A2F780D.3010802@redhat.com> References: <1244511444.8361.605.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andi Kleen , Marcelo Tosatti , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" To: Huang Ying Return-path: Received: from mx2.redhat.com ([66.187.237.31]:56669 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755200AbZFJJIe (ORCPT ); Wed, 10 Jun 2009 05:08:34 -0400 In-Reply-To: <1244511444.8361.605.camel@yhuang-dev.sh.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Huang Ying wrote: > Enclose do_machine_check with #ifdef CONFIG_X86_MCE. > > Reported-by: Marcelo Tosatti > Signed-off-by: Huang Ying > > Applied, thanks. I would have preferred to select X86_MCE instead, but that doesn't do anything (need to select X86_MCE_INTEL as well, and that becomes fragile). -- error compiling committee.c: too many arguments to function