From: "Jan Beulich" Subject: Re: [PATCH for-4.5 V6 02/14] Move x86 specific funtions/variables to arch header Date: Wed, 24 Sep 2014 16:56:03 +0100 Message-ID: <542305B30200007800038768@mail.emea.novell.com> References: <1411534992-27443-1-git-send-email-roy.franz@linaro.org> <1411534992-27443-3-git-send-email-roy.franz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1411534992-27443-3-git-send-email-roy.franz@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roy Franz Cc: keir@xen.org, ian.campbell@citrix.com, tim@xen.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 24.09.14 at 07:03, wrote: > --- /dev/null > +++ b/xen/arch/x86/efi/efi-boot.h > @@ -0,0 +1,132 @@ > +/* > + * Architecture specific implementation for EFI boot code. This file > + * is intended to be included by common/efi/boot.c _only_, and > + * therefore can define arch specific global variables. > + */ > +#include > +#include > +#define __ASSEMBLY__ /* avoid pulling in ACPI stuff (conflicts with EFI) */ > +#include > +#undef __ASSEMBLY__ Just noticed this: Moving this here makes things even more fragile than they are now: If asm/fixmap.h happens to be included by any other header processed prior to reaching this point, the whole effect will be gone. Please keep this in the original place (with an #ifdef and comment as to why). With that adjusted Acked-by: Jan Beulich Jan