Re: [PATCH] KVM: MCE: Fix compiling without CONFIG_X86_MCE

From: Avi Kivity
Date: Wed Jun 10 2009 - 05:08:48 EST


Huang Ying wrote:
Enclose do_machine_check with #ifdef CONFIG_X86_MCE.

Reported-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx>
Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/