xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Yunhong Jiang <yunhong.jiang@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: RE: One question to compat model
Date: Wed, 12 May 2010 09:31:08 +0100	[thread overview]
Message-ID: <4BEA836C02000078000026C7@vpn.id2.novell.com> (raw)
In-Reply-To: <789F9655DD1B8F43B48D77C5D30659731E5F212D@shsmsx501.ccr.corp.intel.com>

>>> "Jiang, Yunhong" <yunhong.jiang@intel.com> 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

  reply	other threads:[~2010-05-12  8:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12  7:38 One question to compat model Jiang, Yunhong
2010-05-12  8:00 ` Jan Beulich
2010-05-12  8:15   ` Jiang, Yunhong
2010-05-12  8:31     ` Jan Beulich [this message]
2010-05-12  8:50       ` Jiang, Yunhong
2010-05-12  9:11         ` Jan Beulich
2010-05-12  9:14           ` Jiang, Yunhong
2010-05-12  9:13         ` Keir Fraser
2010-05-13  8:41           ` Jiang, Yunhong
2010-05-13  8:48             ` Keir Fraser
2010-05-13 10:00               ` Jiang, Yunhong
2010-05-13 10:04                 ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BEA836C02000078000026C7@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=yunhong.jiang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).