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>
* 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 };