[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1245331597.5195.8.camel@localhost.localdomain>
Date: Thu, 18 Jun 2009 09:26:37 -0400
From: Steven Rostedt <srostedt@...hat.com>
To: Tejun Heo <tj@...nel.org>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org,
linux-arch@...r.kernel.org, mingo@...e.hu, kyle@...artin.ca,
cl@...ux-foundation.org, Jesper.Nilsson@...s.com,
benh@...nel.crashing.org, paulmck@...ux.vnet.ibm.com,
David Howells <dhowells@...hat.com>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>, arm@...hat.com
Subject: Re: [PATCH 6/9 UPDATED] percpu: enforce global definition
On Thu, 2009-06-18 at 16:38 +0900, Tejun Heo wrote:
> Some archs (alpha and s390) need to add 'weak' attribute to percpu
> variable definitions so that the compiler generates external
> references for them. To allow this, enforce global definition of all
> percpu variables.
>
> This patch makes DEFINE_PER_CPU_SECTION() do DECLARE_PERCPU_SECTION()
> implicitly and drop static from all percpu definitions.
>
> [ Impact: all percpu variables are forced to be global ]
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Reviewed-by: Christoph Lameter <cl@...ux-foundation.org>
> Acked-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Uh, wont this cause name space collisions?
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists