kbuild: fix comment in modpost.c
authorSam Ravnborg <sam@ravnborg.org>
Sun, 26 Apr 2009 09:17:42 +0000 (11:17 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 1 May 2009 08:54:04 +0000 (10:54 +0200)
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>
scripts/mod/modpost.c

index 57d71a5..e5ae695 100644 (file)
@@ -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