From: Sam Ravnborg Date: Sat, 2 Jun 2007 19:18:51 +0000 (+0200) Subject: kbuild: refactor code in modpost to improve maintainability X-Git-Tag: v2.6.23-rc1~257^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1087247b7d8f1938425906d2ac983df76c6dcc18;p=pandora-kernel.git 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 --- Reading git-diff-tree failed