]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: fix for modversions bug
author David Singleton <dsingleton@mvista.com>
Wed, 18 May 2005 20:59:50 +0000 (13:59 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 18 May 2005 20:59:50 +0000 (13:59 -0700)
EXPORT_SYMBOL_ALIAS add corresponding entry to the kernel crc
table for each symbol alias added to the kernel symbol table.

Signed-off-by: David Singleton <dsingleton@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/kernel/armksyms.c

index 4c38bd8bc298c3a4ecd64ea3a31d2ced999d2e48..6a4621890abf1b499bc3b9ec9bbc77d6bb701850 100644 (file)
@@ -44,7 +44,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 };