From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: RE: One question to compat model Date: Wed, 12 May 2010 09:31:08 +0100 Message-ID: <4BEA836C02000078000026C7@vpn.id2.novell.com> References: <789F9655DD1B8F43B48D77C5D30659731E5F20E1@shsmsx501.ccr.corp.intel.com> <4BEA7C200200007800002687@vpn.id2.novell.com> <789F9655DD1B8F43B48D77C5D30659731E5F212D@shsmsx501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <789F9655DD1B8F43B48D77C5D30659731E5F212D@shsmsx501.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yunhong Jiang Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> "Jiang, Yunhong" 12.05.10 10:15 >>> >The followed small changes cayse compile failed with: > >can't read compat/domctl.h: No such file or directory Sure - domctl.h must not be included from xen-mca.h in any case, you'll need to move the type declaration if you want to use it outside the domctl/sysctl set. >How can I disable compat model now? I remember that option has been = removed. You can't disable CONFIG_COMPAT anymore, but I think you should be able to tweak the CONFIG_COMPAT section in xen/arch/x86/cpu/mcheck/mce.c in a way to allow your new code to be built without doing anything compat-related for the new structures. But maybe removing the domctl.h dependency already clarifies matters. Jan