From: Tim Deegan Subject: Re: [PATCH v3 1/4] xen/domain_page: Convert map_domain_page_global() to using mfn_t Date: Fri, 10 Jul 2015 15:44:26 +0100 Message-ID: <20150710144426.GA34698@deinos.phlegethon.org> References: <1436453648-3956-1-git-send-email-Ben.Catterall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZDZXR-0000W5-Hm for xen-devel@lists.xenproject.org; Fri, 10 Jul 2015 14:44:29 +0000 Content-Disposition: inline In-Reply-To: <1436453648-3956-1-git-send-email-Ben.Catterall@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ben Catterall Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, stefano.stabellini@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org At 15:54 +0100 on 09 Jul (1436457245), Ben Catterall wrote: > From: Andrew Cooper > > The sh_map/unmap wrappers can be dropped, and take the opportunity to turn > some #define's into static inlines, for added type saftey. > > As part of adding the type safety, GCC highlights an problematic include cycle > with arm/mm.h including domain_page.h which includes xen/mm.h and falls over > __page_to_mfn being used before being declared. Simply dropping the inclusion > of domain_page.h fixes the compilation issue. > > Signed-off-by: Andrew Cooper Acked-by: Tim Deegan (For the x86/mm/shadow parts, for this whole series). Cheers, Tim.