From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932390AbWACOtt (ORCPT ); Tue, 3 Jan 2006 09:49:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932394AbWACOtt (ORCPT ); Tue, 3 Jan 2006 09:49:49 -0500 Received: from pasmtp.tele.dk ([193.162.159.95]:16139 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id S932390AbWACOts (ORCPT ); Tue, 3 Jan 2006 09:49:48 -0500 Date: Tue, 3 Jan 2006 15:49:40 +0100 From: Sam Ravnborg To: Jan Engelhardt Cc: linux-kernel@vger.kernel.org, Robin Holt Subject: Re: [PATCH 17/26] kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar); Message-ID: <20060103144940.GB18012@mars.ravnborg.org> References: <11362947262643@foobar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 03, 2006 at 03:46:26PM +0100, Jan Engelhardt wrote: > >This is a one-line change to parse.y. > >To take advantage of this the scripts/genksyms/*_shipped files needs to > >be rebuild - this is the next patch. > > > >When a .c file contains: > >DEFINE_PER_CPU(struct foo_s *, bar); > > > >the .cpp output looks like: > ^^^^ > > Are you right about C++? It's the pre-processed output with DEFINE_PER_CPU expanded, not C++. Sam