]> err.no Git - linux-2.6/commit
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)
commit1087247b7d8f1938425906d2ac983df76c6dcc18
treebfd2bfb82a68de0f74fa429258e8f7a233026df0
parentb28242e7e3c08072251da6d7bc4895fbd3e58299
kbuild: refactor code in modpost to improve maintainability

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>
scripts/mod/modpost.c