From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Wed, 28 Oct 2009 16:37:24 +0000 Subject: Re: [PATCH -next] ia64/sn: fix percpu warnings Message-Id: <4AE87344.6030708@kernel.org> List-Id: References: <20091014163445.f0441473.sfr@canb.auug.org.au> <20091014151003.0ef42973.randy.dunlap@oracle.com> <4AD67C05.2030201@kernel.org> <12c511ca0910261124p64f2ad5emc88d00b9957482b3@mail.gmail.com> <57C9024A16AD2D4C97DC78E552063EA3E345953E@orsmsx505.amr.corp.intel.com> <4AE85D28.90809@kernel.org> <57C9024A16AD2D4C97DC78E552063EA3E34C0108@orsmsx505.amr.corp.intel.com> In-Reply-To: <57C9024A16AD2D4C97DC78E552063EA3E34C0108@orsmsx505.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Luck, Tony" Cc: Randy Dunlap , Stephen Rothwell , "linux-ia64@vger.kernel.org" , "linux-next@vger.kernel.org" , LKML , akpm Hello, Luck, Tony wrote: > That's what Randy's patch uses ... but doing it the "right" way gives > me the "has no CRC!" warning. Ah, right. I got confused. > This seems to be a feature of exported per cpu arrays. If I hack > up a driver to make use of softirq_work_list, I see a similar > no CRC warning for it. > > Is this problem in the ia64 tool chain[1]? Or do other architectures > have problems with exported per cpu arrays? kern/softirq.c has the followings. DEFINE_PER_CPU(struct list_head [NR_SOFTIRQS], softirq_work_list); EXPORT_PER_CPU_SYMBOL(softirq_work_list); and it doesn't cause any warning on x86 neither does it on ia64 with defconfig. softirq_work_list doesn't trigger any warning there, right? Thanks. -- tejun