12fc8483fSLey Foon Tan /* 22fc8483fSLey Foon Tan * Copyright (C) 2004 Microtronix Datacom Ltd 32fc8483fSLey Foon Tan * 42fc8483fSLey Foon Tan * This file is subject to the terms and conditions of the GNU General 52fc8483fSLey Foon Tan * Public License. See the file COPYING in the main directory of this 62fc8483fSLey Foon Tan * archive for more details. 72fc8483fSLey Foon Tan */ 82fc8483fSLey Foon Tan 92fc8483fSLey Foon Tan #include <linux/export.h> 102fc8483fSLey Foon Tan #include <linux/string.h> 11*65fddcfcSMike Rapoport #include <linux/pgtable.h> 122fc8483fSLey Foon Tan 130f8ed994SGuenter Roeck #include <asm/cacheflush.h> 140f8ed994SGuenter Roeck 152fc8483fSLey Foon Tan /* string functions */ 162fc8483fSLey Foon Tan 172fc8483fSLey Foon Tan EXPORT_SYMBOL(memcpy); 182fc8483fSLey Foon Tan EXPORT_SYMBOL(memset); 192fc8483fSLey Foon Tan EXPORT_SYMBOL(memmove); 202fc8483fSLey Foon Tan 210f8ed994SGuenter Roeck /* memory management */ 220f8ed994SGuenter Roeck 230f8ed994SGuenter Roeck EXPORT_SYMBOL(empty_zero_page); 240f8ed994SGuenter Roeck EXPORT_SYMBOL(flush_icache_range); 250f8ed994SGuenter Roeck 262fc8483fSLey Foon Tan /* 272fc8483fSLey Foon Tan * libgcc functions - functions that are used internally by the 282fc8483fSLey Foon Tan * compiler... (prototypes are not correct though, but that 292fc8483fSLey Foon Tan * doesn't really matter since they're not versioned). 302fc8483fSLey Foon Tan */ 312fc8483fSLey Foon Tan #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name) 322fc8483fSLey Foon Tan 332fc8483fSLey Foon Tan DECLARE_EXPORT(__gcc_bcmp); 342fc8483fSLey Foon Tan DECLARE_EXPORT(__divsi3); 352fc8483fSLey Foon Tan DECLARE_EXPORT(__moddi3); 362fc8483fSLey Foon Tan DECLARE_EXPORT(__modsi3); 372fc8483fSLey Foon Tan DECLARE_EXPORT(__udivmoddi4); 382fc8483fSLey Foon Tan DECLARE_EXPORT(__udivsi3); 392fc8483fSLey Foon Tan DECLARE_EXPORT(__umoddi3); 402fc8483fSLey Foon Tan DECLARE_EXPORT(__umodsi3); 412fc8483fSLey Foon Tan DECLARE_EXPORT(__muldi3); 420f8ed994SGuenter Roeck DECLARE_EXPORT(__ucmpdi2); 430f8ed994SGuenter Roeck DECLARE_EXPORT(__lshrdi3); 440f8ed994SGuenter Roeck DECLARE_EXPORT(__ashldi3); 450f8ed994SGuenter Roeck DECLARE_EXPORT(__ashrdi3); 46