diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-20 20:07:28 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:21:17 +0100 |
commit | eb8f689046b857874e964463619f09df06d59fad (patch) | |
tree | ec726cd06764746a07689ede3b782c36a24d3e55 /scripts/bin2c.c | |
parent | f3fe866d59d707c7a2bba0b23add078e19edb3dc (diff) | |
download | lwn-eb8f689046b857874e964463619f09df06d59fad.tar.gz lwn-eb8f689046b857874e964463619f09df06d59fad.zip |
Use separate sections for __dev/__cpu/__mem code/data
Introducing separate sections for __dev* (HOTPLUG),
__cpu* (HOTPLUG_CPU) and __mem* (MEMORY_HOTPLUG)
allows us to do a much more reliable Section mismatch
check in modpost. We are no longer dependent on the actual
configuration of for example HOTPLUG.
This has the effect that all users see much more
Section mismatch warnings than before because they
were almost all hidden when HOTPLUG was enabled.
The advantage of this is that when building a piece
of code then it is much more likely that the Section
mismatch errors are spotted and the warnings will be
felt less random of nature.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Greg KH <greg@kroah.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions