summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Yang <luke.adi@gmail.com>2005-12-21 10:27:23 +0800
committerSam Ravnborg <sam@mars.ravnborg.org>2005-12-25 21:18:11 +0100
commit9572b28faf72859c6b91891c627870cfa282d19d (patch)
treeffb70ad557c91ea836eaab5bde0fbecc1f1d8d96 /Makefile
parent9cc5d74c847dd3a9ea121b5bbca07bd5791c54ee (diff)
downloadlwn-9572b28faf72859c6b91891c627870cfa282d19d.tar.gz
lwn-9572b28faf72859c6b91891c627870cfa282d19d.zip
kbuild: Fix crc-error warning on modules
This is the patch for the following issue: In include/linux/module.h, "__crc_" and "__ksymtab_" are hard coded to be the prefix for some kinds of symbols (CRC symbol and ksymtab section). But in script /mod/modpost.c, MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC symbols. So if an architecture (such as h8300 or Blackfin) defines MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about "no invalid crc". And it is the same with KSYMTAB_PFX. Signed-off-by: Luke Yang <luke.adi@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions