From: "Jan Beulich" Subject: Re: [PATCH 07/12] xen: allow tmem to be disabled on platforms which do not support it (ARM) Date: Fri, 20 Jan 2012 12:36:28 +0000 Message-ID: <4F196DDC020000780006DEEC@nat28.tlf.novell.com> References: <1327061025.30054.21.camel@zakaz.uk.xensource.com> <1327061198-29854-7-git-send-email-ian.campbell@citrix.com> <1327062518.30054.26.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1327062518.30054.26.camel@zakaz.uk.xensource.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: Ian Campbell , Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 20.01.12 at 13:28, Ian Campbell wrote: > On Fri, 2012-01-20 at 12:19 +0000, Stefano Stabellini wrote: >> Why do we need this? >> I though that tmem compiled OK on ARM. > > But it can't possibly work, as evidenced by the missing symbol in > dummy.S! There is no point in compiling something which cannot work. But introducing random HAS_xyz variables isn't that pretty either. The more that the term 'has' seems wrong to me in this case. By just not wiring up the hypercall you could achieve the same effect. Jan