From: Ian Campbell Subject: Re: arm: double EXPORT_SYMBOL(cpu_online_map); Date: Fri, 29 Nov 2013 10:40:09 +0000 Message-ID: <1385721609.25763.7.camel@kazak.uk.xensource.com> References: <153840229.RtlTWV8zCB@amur.mch.fsc.net> <1384857379.30014.20.camel@kazak.uk.xensource.com> <1385031212.6071.140.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1385031212.6071.140.camel@kazak.uk.xensource.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: Stefano Stabellini Cc: Dietmar Hahn , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2013-11-21 at 10:53 +0000, Ian Campbell wrote: > On Tue, 2013-11-19 at 10:36 +0000, Ian Campbell wrote: > > On Fri, 2013-11-15 at 14:50 +0000, Stefano Stabellini wrote: > > > On Fri, 15 Nov 2013, Dietmar Hahn wrote: > > > > Hi, > > > > > > > > I dont' know the arm architecture but while searching the code I found the > > > > following copy failure I think: > > > > > > > > Dietmar. > > > > > > > > > > > > > Acked-by: Stefano Stabellini > > > > EXPORT_SYMBOL is meaningless in Xen and provided only for compatibility > > with code taken from Linux. But our smpboot.c is not taken from Linux, I > > expect we blindly inherited them from the x86 version (which has also > > long since diverged). > > > > I think we can just nuke them. > > Like so: > > 8>------------- > > From 5f5cc43a23b89f095b00f654c698e85875d01998 Mon Sep 17 00:00:00 2001 > From: Ian Campbell > Date: Thu, 21 Nov 2013 10:49:14 +0000 > Subject: [PATCH] xen: arm: Remove useless and incorrect EXPORT_SYMBOLS > > Dietmar noticed that one of these was incorrect, but in actual fact they are > not even used. They are defined as nops in Xen for the benefit of code > imported to Linux which ARM's smpboot.c is not. > > Just get rid of them. > > Reported-by: Dietmar Hahn > Signed-off-by: Ian Campbell This is so trivial I've just applied it.