linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove __dev* sections from the kernel
@ 2012-11-29 18:41 Greg Kroah-Hartman
  2012-11-29 18:43 ` [PATCH 1/2] init.h: " Greg Kroah-Hartman
  0 siblings, 1 reply; 11+ messages in thread
From: Greg Kroah-Hartman @ 2012-11-29 18:41 UTC (permalink / raw)
  To: linux-kernel, Rusty Russell, Jim Cromie, Borislav Petkov,
	Andrew Morton, Andi Kleen, Michal Marek, Tony Lindgren,
	Jonathan Kliegman, Chris Zankel
  Cc: Bill Pemberton, Fengguang Wu, Sam Ravnborg, linux-kbuild

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 lets remove these false warnings by removing the check for
them in the modpost.c tool.  Also, lets stop marking the sections
entirely, so define away the section markings in init.h

I'll queue these two patches up through my driver-core git tree, which
has the bulk of the __dev* marking removal patches in it.  If anyone has
any objections to this, please let me know.

thanks,

greg k-h

---
 include/linux/init.h  |   18 +++++++-----------
 scripts/mod/modpost.c |   24 ++++++++++--------------
 2 files changed, 17 insertions(+), 25 deletions(-)


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-11-30 20:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 18:41 [PATCH 0/2] Remove __dev* sections from the kernel Greg Kroah-Hartman
2012-11-29 18:43 ` [PATCH 1/2] init.h: " Greg Kroah-Hartman
2012-11-29 18:45   ` [PATCH 1/2] modpost.c: Stop checking __dev* section mismatches Greg Kroah-Hartman
2012-11-30 18:13     ` Sam Ravnborg
2012-11-30 18:11   ` [PATCH 1/2] init.h: Remove __dev* sections from the kernel Sam Ravnborg
2012-11-30 18:28     ` Greg Kroah-Hartman
2012-11-30 20:39   ` H. Peter Anvin
2012-11-30 20:43     ` Bill Pemberton
2012-11-30 20:45     ` Greg Kroah-Hartman
2012-11-30 20:39   ` H. Peter Anvin
2012-11-30 20:47     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).