tree 891265ca82decd715c32c7029671502d0aa79d6f
parent bcaafbe4a14e3c9b5275b3986c7599f7c6c278e4
author Todd Poynor <[EMAIL PROTECTED]> Wed, 06 Jul 2005 23:06:05 +0100
committer Russell King <[EMAIL PROTECTED]> Wed, 06 Jul 2005 23:06:05 +0100

[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 <[EMAIL PROTECTED]>
Signed-off-by: Russell King <[EMAIL PROTECTED]>

 arch/arm/kernel/armksyms.c |    3 +++
 1 files changed, 3 insertions(+)

diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c
--- 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 };
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to