commit | 1087247b7d8f1938425906d2ac983df76c6dcc18 | [log] [tgz] |
---|---|---|
author | Sam Ravnborg <sam@ravnborg.org> | Sat Jun 02 21:18:51 2007 +0200 |
committer | Sam Ravnborg <sam@ravnborg.org> | Mon Jul 16 23:21:34 2007 +0200 |
tree | bfd2bfb82a68de0f74fa429258e8f7a233026df0 | |
parent | b28242e7e3c08072251da6d7bc4895fbd3e58299 [diff] |
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>