From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:53649 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031760Ab2K3UpK (ORCPT ); Fri, 30 Nov 2012 15:45:10 -0500 Received: by mail-pa0-f46.google.com with SMTP id bh2so598407pad.19 for ; Fri, 30 Nov 2012 12:45:09 -0800 (PST) Date: Fri, 30 Nov 2012 12:45:06 -0800 From: Greg Kroah-Hartman Subject: Re: [PATCH 1/2] init.h: Remove __dev* sections from the kernel Message-ID: <20121130204506.GA32483@kroah.com> References: <20121129184133.GA15110@kroah.com> <20121129184328.GB15110@kroah.com> <50B91965.5030007@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50B91965.5030007@zytor.com> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, Rusty Russell , Jim Cromie , Borislav Petkov , Andrew Morton , Andi Kleen , Michal Marek , Tony Lindgren , Jonathan Kliegman , Chris Zankel , Bill Pemberton , Fengguang Wu , Sam Ravnborg , linux-kbuild On Fri, Nov 30, 2012 at 12:39:01PM -0800, H. Peter Anvin wrote: > On 11/29/2012 10:43 AM, Greg Kroah-Hartman wrote: > >From: Greg Kroah-Hartman > > > >With the recent work to remove CONFIG_HOTPLUG, we are starting to get a > >bunch of __devinit section warnings, despite CONFIG_HOTPLUG always being > >enabled. So, stop marking the sections entirely, by defining them away > >the section markings in init.h > > > > Could we run a sed script over the kernel tree and generate patches > to remove the markings completely? Yes, we can, and Bill's been generating patches that way. A number of them are already in linux-next and I'll sweep the tree after 3.8-rc1 is out and catch the rest. thanks, greg k-h