summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-06-06 00:18:05 +0200
committerSam Ravnborg <sam@ravnborg.org>2009-06-09 22:37:53 +0200
commit8b8b76c045beb85c1c2b28e07eff6599a1e95cf1 (patch)
tree92cbaa67dc948afab82f6b2ec425fafe5cec1b1d /scripts/mod
parent1581c1cede3b180b77aa08024c6ca406252cc21f (diff)
downloadlinux-8b8b76c045beb85c1c2b28e07eff6599a1e95cf1.tar.gz
linux-8b8b76c045beb85c1c2b28e07eff6599a1e95cf1.tar.bz2
linux-8b8b76c045beb85c1c2b28e07eff6599a1e95cf1.zip
kbuild: add hint about __refdata to modpost
As requested by Guennadi Liakhovetski Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 94e71efb2c14..4522948a012e 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1196,7 +1196,7 @@ static void report_sec_mismatch(const char *modname, enum mismatch mismatch,
"The variable %s references\n"
"the %s %s%s%s\n"
"If the reference is valid then annotate the\n"
- "variable with __init* (see linux/init.h) "
+ "variable with __init* or __refdata (see linux/init.h) "
"or name the variable:\n",
fromsym, to, sec2annotation(tosec), tosym, to_p);
while (*s)