blob: 4e704046a150c164379d42cada3d09d6f6910107 [file] [log] [blame]
Ley Foon Tan2fc84832014-11-06 15:20:19 +08001/*
2 * Copyright (C) 2004 Microtronix Datacom Ltd
3 *
4 * This file is subject to the terms and conditions of the GNU General
5 * Public License. See the file COPYING in the main directory of this
6 * archive for more details.
7 */
8
9#include <linux/export.h>
10#include <linux/string.h>
11
Guenter Roecka1ea8df2018-11-07 10:36:10 +080012#include <asm/cacheflush.h>
13#include <asm/pgtable.h>
14
Ley Foon Tan2fc84832014-11-06 15:20:19 +080015/* string functions */
16
17EXPORT_SYMBOL(memcpy);
18EXPORT_SYMBOL(memset);
19EXPORT_SYMBOL(memmove);
20
Guenter Roecka1ea8df2018-11-07 10:36:10 +080021/* memory management */
22
23EXPORT_SYMBOL(empty_zero_page);
24EXPORT_SYMBOL(flush_icache_range);
25
Ley Foon Tan2fc84832014-11-06 15:20:19 +080026/*
27 * libgcc functions - functions that are used internally by the
28 * compiler... (prototypes are not correct though, but that
29 * doesn't really matter since they're not versioned).
30 */
31#define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
32
33DECLARE_EXPORT(__gcc_bcmp);
34DECLARE_EXPORT(__divsi3);
35DECLARE_EXPORT(__moddi3);
36DECLARE_EXPORT(__modsi3);
37DECLARE_EXPORT(__udivmoddi4);
38DECLARE_EXPORT(__udivsi3);
39DECLARE_EXPORT(__umoddi3);
40DECLARE_EXPORT(__umodsi3);
41DECLARE_EXPORT(__muldi3);
Guenter Roecka1ea8df2018-11-07 10:36:10 +080042DECLARE_EXPORT(__ucmpdi2);
43DECLARE_EXPORT(__lshrdi3);
44DECLARE_EXPORT(__ashldi3);
45DECLARE_EXPORT(__ashrdi3);