1/* 2 * linux/arch/unicore32/kernel/ksyms.c 3 * 4 * Code specific to PKUnity SoC and UniCore ISA 5 * 6 * Copyright (C) 2001-2010 GUAN Xue-tao 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12#include <linux/module.h> 13#include <linux/sched.h> 14#include <linux/string.h> 15#include <linux/cryptohash.h> 16#include <linux/delay.h> 17#include <linux/in6.h> 18#include <linux/syscalls.h> 19#include <linux/uaccess.h> 20#include <linux/io.h> 21 22#include <asm/checksum.h> 23 24#include "ksyms.h" 25 26EXPORT_SYMBOL(find_next_zero_bit); 27EXPORT_SYMBOL(find_next_bit); 28 29EXPORT_SYMBOL(__backtrace); 30 31 /* platform dependent support */ 32EXPORT_SYMBOL(__udelay); 33EXPORT_SYMBOL(__const_udelay); 34 35 /* networking */ 36EXPORT_SYMBOL(csum_partial); 37EXPORT_SYMBOL(csum_partial_copy_from_user); 38EXPORT_SYMBOL(csum_partial_copy_nocheck); 39EXPORT_SYMBOL(__csum_ipv6_magic); 40 41 /* io */ 42#ifndef __raw_readsb 43EXPORT_SYMBOL(__raw_readsb); 44#endif 45#ifndef __raw_readsw 46EXPORT_SYMBOL(__raw_readsw); 47#endif 48#ifndef __raw_readsl 49EXPORT_SYMBOL(__raw_readsl); 50#endif 51#ifndef __raw_writesb 52EXPORT_SYMBOL(__raw_writesb); 53#endif 54#ifndef __raw_writesw 55EXPORT_SYMBOL(__raw_writesw); 56#endif 57#ifndef __raw_writesl 58EXPORT_SYMBOL(__raw_writesl); 59#endif 60 61 /* string / mem functions */ 62EXPORT_SYMBOL(strchr); 63EXPORT_SYMBOL(strrchr); 64EXPORT_SYMBOL(memset); 65EXPORT_SYMBOL(memcpy); 66EXPORT_SYMBOL(memmove); 67EXPORT_SYMBOL(memchr); 68 69 /* user mem (segment) */ 70EXPORT_SYMBOL(__strnlen_user); 71EXPORT_SYMBOL(__strncpy_from_user); 72 73EXPORT_SYMBOL(copy_page); 74 75EXPORT_SYMBOL(__copy_from_user); 76EXPORT_SYMBOL(__copy_to_user); 77EXPORT_SYMBOL(__clear_user); 78 79EXPORT_SYMBOL(__get_user_1); 80EXPORT_SYMBOL(__get_user_2); 81EXPORT_SYMBOL(__get_user_4); 82 83EXPORT_SYMBOL(__put_user_1); 84EXPORT_SYMBOL(__put_user_2); 85EXPORT_SYMBOL(__put_user_4); 86EXPORT_SYMBOL(__put_user_8); 87 88EXPORT_SYMBOL(__ashldi3); 89EXPORT_SYMBOL(__ashrdi3); 90EXPORT_SYMBOL(__divsi3); 91EXPORT_SYMBOL(__lshrdi3); 92EXPORT_SYMBOL(__modsi3); 93EXPORT_SYMBOL(__muldi3); 94EXPORT_SYMBOL(__ucmpdi2); 95EXPORT_SYMBOL(__udivsi3); 96EXPORT_SYMBOL(__umodsi3); 97EXPORT_SYMBOL(__bswapsi2); 98 99