Path: blob/master/arch/blackfin/kernel/bfin_ksyms.c
10817 views
/*1* arch/blackfin/kernel/bfin_ksyms.c - exports for random symbols2*3* Copyright 2004-2008 Analog Devices Inc.4*5* Licensed under the GPL-2 or later.6*/78#include <linux/module.h>9#include <linux/uaccess.h>1011#include <asm/cacheflush.h>12#include <asm/io.h>13#include <asm/irq_handler.h>1415/* Allow people to have their own Blackfin exception handler in a module */16EXPORT_SYMBOL(bfin_return_from_exception);1718/* All the Blackfin cache functions: mach-common/cache.S */19EXPORT_SYMBOL(blackfin_dcache_invalidate_range);20EXPORT_SYMBOL(blackfin_icache_flush_range);21EXPORT_SYMBOL(blackfin_dcache_flush_range);22EXPORT_SYMBOL(blackfin_dflush_page);2324/* The following are special because they're not called25* explicitly (the C compiler generates them). Fortunately,26* their interface isn't gonna change any time soon now, so27* it's OK to leave it out of version control.28*/29EXPORT_SYMBOL(memcpy);30EXPORT_SYMBOL(memset);31EXPORT_SYMBOL(memcmp);32EXPORT_SYMBOL(memmove);33EXPORT_SYMBOL(memchr);3435/*36* Because string functions are both inline and exported functions and37* folder arch/blackfin/lib is configured as a library path in Makefile,38* symbols exported in folder lib is not linked into built-in.o but39* inlined only. In order to export string symbols to kernel module40* properly, they should be exported here.41*/42EXPORT_SYMBOL(strcpy);43EXPORT_SYMBOL(strncpy);44EXPORT_SYMBOL(strcmp);45EXPORT_SYMBOL(strncmp);4647/*48* libgcc functions - functions that are used internally by the49* compiler... (prototypes are not correct though, but that50* doesn't really matter since they're not versioned).51*/52extern void __ashldi3(void);53extern void __ashrdi3(void);54extern void __smulsi3_highpart(void);55extern void __umulsi3_highpart(void);56extern void __divsi3(void);57extern void __lshrdi3(void);58extern void __modsi3(void);59extern void __muldi3(void);60extern void __udivsi3(void);61extern void __umodsi3(void);62EXPORT_SYMBOL(__ashldi3);63EXPORT_SYMBOL(__ashrdi3);64EXPORT_SYMBOL(__umulsi3_highpart);65EXPORT_SYMBOL(__smulsi3_highpart);66EXPORT_SYMBOL(__divsi3);67EXPORT_SYMBOL(__lshrdi3);68EXPORT_SYMBOL(__modsi3);69EXPORT_SYMBOL(__muldi3);70EXPORT_SYMBOL(__udivsi3);71EXPORT_SYMBOL(__umodsi3);7273/* Input/output symbols: lib/{in,out}s.S */74EXPORT_SYMBOL(outsb);75EXPORT_SYMBOL(insb);76EXPORT_SYMBOL(outsw);77EXPORT_SYMBOL(outsw_8);78EXPORT_SYMBOL(insw);79EXPORT_SYMBOL(insw_8);80EXPORT_SYMBOL(outsl);81EXPORT_SYMBOL(insl);82EXPORT_SYMBOL(insl_16);8384#ifdef CONFIG_SMP85EXPORT_SYMBOL(__raw_atomic_update_asm);86EXPORT_SYMBOL(__raw_atomic_clear_asm);87EXPORT_SYMBOL(__raw_atomic_set_asm);88EXPORT_SYMBOL(__raw_atomic_xor_asm);89EXPORT_SYMBOL(__raw_atomic_test_asm);90EXPORT_SYMBOL(__raw_xchg_1_asm);91EXPORT_SYMBOL(__raw_xchg_2_asm);92EXPORT_SYMBOL(__raw_xchg_4_asm);93EXPORT_SYMBOL(__raw_cmpxchg_1_asm);94EXPORT_SYMBOL(__raw_cmpxchg_2_asm);95EXPORT_SYMBOL(__raw_cmpxchg_4_asm);96EXPORT_SYMBOL(__raw_spin_is_locked_asm);97EXPORT_SYMBOL(__raw_spin_lock_asm);98EXPORT_SYMBOL(__raw_spin_trylock_asm);99EXPORT_SYMBOL(__raw_spin_unlock_asm);100EXPORT_SYMBOL(__raw_read_lock_asm);101EXPORT_SYMBOL(__raw_read_trylock_asm);102EXPORT_SYMBOL(__raw_read_unlock_asm);103EXPORT_SYMBOL(__raw_write_lock_asm);104EXPORT_SYMBOL(__raw_write_trylock_asm);105EXPORT_SYMBOL(__raw_write_unlock_asm);106EXPORT_SYMBOL(__raw_bit_set_asm);107EXPORT_SYMBOL(__raw_bit_clear_asm);108EXPORT_SYMBOL(__raw_bit_toggle_asm);109EXPORT_SYMBOL(__raw_bit_test_asm);110EXPORT_SYMBOL(__raw_bit_test_set_asm);111EXPORT_SYMBOL(__raw_bit_test_clear_asm);112EXPORT_SYMBOL(__raw_bit_test_toggle_asm);113EXPORT_SYMBOL(__raw_uncached_fetch_asm);114#ifdef __ARCH_SYNC_CORE_DCACHE115EXPORT_SYMBOL(__raw_smp_mark_barrier_asm);116EXPORT_SYMBOL(__raw_smp_check_barrier_asm);117#endif118#endif119120#ifdef CONFIG_FUNCTION_TRACER121extern void _mcount(void);122EXPORT_SYMBOL(_mcount);123#endif124125126