projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pull-work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git]
/
scripts
/
gen_autoksyms.sh
diff --git
a/scripts/gen_autoksyms.sh
b/scripts/gen_autoksyms.sh
index
faacf70
..
653fadb
100755
(executable)
--- a/
scripts/gen_autoksyms.sh
+++ b/
scripts/gen_autoksyms.sh
@@
-56,4
+56,7
@@
EOT
# point addresses.
sed -e 's/^\.//' |
sort -u |
+# Ignore __this_module. It's not an exported symbol, and will be resolved
+# when the final .ko's are linked.
+grep -v '^__this_module$' |
sed -e 's/\(.*\)/#define __KSYM_\1 1/' >> "$output_file"