summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-06-23 23:22:43 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2006-06-24 23:14:05 +0200
commit468d949401d729b28eed6ea5be25695c5731d3f1 (patch)
tree5bd6c4265471c7d747386e74f813dbb2f644c73b /scripts/mod
parentc5e3003381f4e39773a1758a9eb68dff9740a56c (diff)
downloadlinux-468d949401d729b28eed6ea5be25695c5731d3f1.tar.bz2
kbuild: kill some false positives from modpost
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index d03c9fff5b2a..7e226896579c 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -891,6 +891,8 @@ static int init_section_ref_ok(const char *name)
".pci_fixup_final",
".pdr",
"__param",
+ "__ex_table",
+ ".fixup",
".smp_locks",
".plt", /* seen on ARCH=um build on x86_64. Harmless */
NULL
@@ -918,6 +920,8 @@ static int init_section_ref_ok(const char *name)
for (s = namelist3; *s; s++)
if (strstr(name, *s) != NULL)
return 1;
+ if (strrcmp(name, ".init") == 0)
+ return 1;
return 0;
}
@@ -964,6 +968,8 @@ static int exit_section_ref_ok(const char *name)
".exitcall.exit",
".eh_frame",
".stab",
+ "__ex_table",
+ ".fixup",
".smp_locks",
".plt", /* seen on ARCH=um build on x86_64. Harmless */
NULL