diff options
author | Ley Foon Tan <lftan@altera.com> | 2014-11-06 10:20:19 +0300 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2014-12-08 07:56:06 +0300 |
commit | 2fc8483fdcde767795402a38a53e647811dc9abf (patch) | |
tree | 01c734b5191c6ddd5c095fb2a08494720b06f817 /arch/nios2/kernel/nios2_ksyms.c | |
parent | 9cce02ec7146248862ba63a41bf8eb32d9e4fb63 (diff) | |
download | linux-2fc8483fdcde767795402a38a53e647811dc9abf.tar.xz |
nios2: Build infrastructure
This patch adds Makefile and Kconfig files required for building a
nios2 kernel.
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/kernel/nios2_ksyms.c')
-rw-r--r-- | arch/nios2/kernel/nios2_ksyms.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/nios2/kernel/nios2_ksyms.c b/arch/nios2/kernel/nios2_ksyms.c new file mode 100644 index 000000000000..bf2f55d10a4d --- /dev/null +++ b/arch/nios2/kernel/nios2_ksyms.c @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2004 Microtronix Datacom Ltd + * + * This file is subject to the terms and conditions of the GNU General + * Public License. See the file COPYING in the main directory of this + * archive for more details. + */ + +#include <linux/export.h> +#include <linux/string.h> + +/* string functions */ + +EXPORT_SYMBOL(memcpy); +EXPORT_SYMBOL(memset); +EXPORT_SYMBOL(memmove); + +/* + * libgcc functions - functions that are used internally by the + * compiler... (prototypes are not correct though, but that + * doesn't really matter since they're not versioned). + */ +#define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name) + +DECLARE_EXPORT(__gcc_bcmp); +DECLARE_EXPORT(__divsi3); +DECLARE_EXPORT(__moddi3); +DECLARE_EXPORT(__modsi3); +DECLARE_EXPORT(__udivmoddi4); +DECLARE_EXPORT(__udivsi3); +DECLARE_EXPORT(__umoddi3); +DECLARE_EXPORT(__umodsi3); +DECLARE_EXPORT(__muldi3); |