summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorTodd Poynor <tpoynor@mvista.com>2005-07-06 23:06:05 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-07-06 23:06:05 +0100
commit7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5 (patch)
tree891265ca82decd715c32c7029671502d0aa79d6f /arch/arm
parentbcaafbe4a14e3c9b5275b3986c7599f7c6c278e4 (diff)
downloadop-kernel-dev-7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5.zip
op-kernel-dev-7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5.tar.gz
[PATCH] ARM: 2791/1: Add CRCs for aliased ARM symbols
Patch from Todd Poynor Fix module versioning for 3 ARM symbols that do not have CRCs added, avoid "disagrees about version of symbol struct_module" errors at module load time. From David Singleton. Signed-off-by: Todd Poynor <tpoynor@mvista.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/kernel/armksyms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c
index b713c44..835d450 100644
--- a/arch/arm/kernel/armksyms.c
+++ b/arch/arm/kernel/armksyms.c
@@ -41,7 +41,10 @@ extern void fp_enter(void);
* This has a special calling convention; it doesn't
* modify any of the usual registers, except for LR.
*/
+#define EXPORT_CRC_ALIAS(sym) __CRC_SYMBOL(sym, "")
+
#define EXPORT_SYMBOL_ALIAS(sym,orig) \
+ EXPORT_CRC_ALIAS(sym) \
const struct kernel_symbol __ksymtab_##sym \
__attribute__((section("__ksymtab"))) = \
{ (unsigned long)&orig, #sym };
OpenPOWER on IntegriCloud