aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-04-26 05:17:42 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-05-01 04:54:04 -0400
commitc993971f4a7dc7ae43963aecb958395353c109ae (patch)
tree526d6bbdf37c5afabf4098d75563f15722ad07e9 /scripts
parenta182ad3d0f858f50bb719a48bb35a013e12366c5 (diff)
kbuild: fix comment in modpost.c
There is some confusion on naming of the head section. Correct naming is .head.text. Fix comment so we use correct naming. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mod/modpost.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 57d71a5f31b6..e5ae695458eb 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -928,8 +928,7 @@ static int section_mismatch(const char *fromsec, const char *tosec)
928 * *probe_one, *_console, *_timer 928 * *probe_one, *_console, *_timer
929 * 929 *
930 * Pattern 3: 930 * Pattern 3:
931 * Whitelist all refereces from .text.head to .init.data 931 * Whitelist all references from .head.text to any init section
932 * Whitelist all refereces from .text.head to .init.text
933 * 932 *
934 * Pattern 4: 933 * Pattern 4:
935 * Some symbols belong to init section but still it is ok to reference 934 * Some symbols belong to init section but still it is ok to reference