lkml.org 
[lkml]   [2012]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] init.h: Remove __dev* sections from the kernel
Date
From
H. Peter Anvin writes:
>
> On 11/29/2012 10:43 AM, Greg Kroah-Hartman wrote:
> > From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >
> > 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?
>

That's how I've been generating the patches to remove the markings --
except it's a perl script.

--
Bill


\
 
 \ /
  Last update: 2012-11-30 22:21    [W:0.133 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site