]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kbuild: be more foregiving on init section naming
authorSam Ravnborg <sam@ravnborg.org>
Wed, 25 Jul 2007 19:52:31 +0000 (21:52 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 25 Jul 2007 19:52:31 +0000 (21:52 +0200)
commit83cda2bb37cb8476cd84659d9698ab48553be974
treec0db0c2f3c6fa6c97e1185c0995c57d3ba3c87be
parent2f5ee619045d923de9137b6a263a99cc2428391a
kbuild: be more foregiving on init section naming

In the whitelist function of modpost now use the same
check to identify init_section as in other places of modpost.
This has the effect that we now recognize sections named
.init.text.19 as init sections and we no longer warn
when we see these.

At the same time make surrounding code readable by dropping
use of temporary flags.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c