From: Keir Fraser Subject: Re: [Patch v2] static and __init symbols in machine_kexec.c Date: Wed, 16 May 2007 08:21:41 +0100 Message-ID: References: <1179298159.23300.1@tabatha.lab.ultramonkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1179298159.23300.1@tabatha.lab.ultramonkey.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Simon Horman , xen-devel@lists.xensource.com Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org On 16/5/07 07:49, "Simon Horman" wrote: > Curiously, making xen_max_nr_phys_cpus __init causes a section missmatch > error at compile time. I guess this is to do with the way global ints > are handled. I confirmed that its consistent across x86_32, x86_64 and > ia64. So I guess its ok to leave it as is. What if you make it __initdata, as it (and the other data variables) should be? -- Keir