summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-04-26 11:17:42 +0200
committerSam Ravnborg <sam@ravnborg.org>2009-05-01 10:54:04 +0200
commitc993971f4a7dc7ae43963aecb958395353c109ae (patch)
tree526d6bbdf37c5afabf4098d75563f15722ad07e9 /scripts/mod
parenta182ad3d0f858f50bb719a48bb35a013e12366c5 (diff)
downloadlinux-3.10-c993971f4a7dc7ae43963aecb958395353c109ae.tar.gz
linux-3.10-c993971f4a7dc7ae43963aecb958395353c109ae.tar.bz2
linux-3.10-c993971f4a7dc7ae43963aecb958395353c109ae.zip
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/mod')
-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 57d71a5f31b..e5ae695458e 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)
* *probe_one, *_console, *_timer
*
* Pattern 3:
- * Whitelist all refereces from .text.head to .init.data
- * Whitelist all refereces from .text.head to .init.text
+ * Whitelist all references from .head.text to any init section
*
* Pattern 4:
* Some symbols belong to init section but still it is ok to reference