kbuild: refactor code in modpost to improve maintainability
authorSam Ravnborg <sam@ravnborg.org>
Sat, 2 Jun 2007 19:18:51 +0000 (21:18 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 16 Jul 2007 21:21:34 +0000 (23:21 +0200)
There were a great deal of overlap between the two functions
that check which sections may reference .init.text and .exit.text.
Factor out common check to a separate function and
sort entries in the original functions.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

No differences found