From 3b40dee9b0d1e0569847463d5e233ccfec4d8aae Mon Sep 17 00:00:00 2001 From: David Singleton Date: Wed, 18 May 2005 13:59:50 -0700 Subject: [PATCH] [PATCH] ARM: OMAP: fix for modversions bug 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 Signed-off-by: Tony Lindgren --- arch/arm/kernel/armksyms.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c index 4c38bd8bc29..6a4621890ab 100644 --- a/arch/arm/kernel/armksyms.c +++ b/arch/arm/kernel/armksyms.c @@ -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 }; -- 2.41.1