fix a kmap leak in virtio_console
[linux/fpc-iii.git] / arch / c6x / kernel / c6x_ksyms.c
blob0ba3e0bba3e1d161af94ae8c5d06c46709d88b9e
1 /*
2 * Port on Texas Instruments TMS320C6x architecture
4 * Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated
5 * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #include <linux/module.h>
13 #include <asm/checksum.h>
14 #include <linux/io.h>
17 * libgcc functions - used internally by the compiler...
19 extern int __c6xabi_divi(int dividend, int divisor);
20 EXPORT_SYMBOL(__c6xabi_divi);
22 extern unsigned __c6xabi_divu(unsigned dividend, unsigned divisor);
23 EXPORT_SYMBOL(__c6xabi_divu);
25 extern int __c6xabi_remi(int dividend, int divisor);
26 EXPORT_SYMBOL(__c6xabi_remi);
28 extern unsigned __c6xabi_remu(unsigned dividend, unsigned divisor);
29 EXPORT_SYMBOL(__c6xabi_remu);
31 extern int __c6xabi_divremi(int dividend, int divisor);
32 EXPORT_SYMBOL(__c6xabi_divremi);
34 extern unsigned __c6xabi_divremu(unsigned dividend, unsigned divisor);
35 EXPORT_SYMBOL(__c6xabi_divremu);
37 extern unsigned long long __c6xabi_mpyll(unsigned long long src1,
38 unsigned long long src2);
39 EXPORT_SYMBOL(__c6xabi_mpyll);
41 extern long long __c6xabi_negll(long long src);
42 EXPORT_SYMBOL(__c6xabi_negll);
44 extern unsigned long long __c6xabi_llshl(unsigned long long src1, uint src2);
45 EXPORT_SYMBOL(__c6xabi_llshl);
47 extern long long __c6xabi_llshr(long long src1, uint src2);
48 EXPORT_SYMBOL(__c6xabi_llshr);
50 extern unsigned long long __c6xabi_llshru(unsigned long long src1, uint src2);
51 EXPORT_SYMBOL(__c6xabi_llshru);
53 extern void __c6xabi_strasgi(int *dst, const int *src, unsigned cnt);
54 EXPORT_SYMBOL(__c6xabi_strasgi);
56 extern void __c6xabi_push_rts(void);
57 EXPORT_SYMBOL(__c6xabi_push_rts);
59 extern void __c6xabi_pop_rts(void);
60 EXPORT_SYMBOL(__c6xabi_pop_rts);
62 extern void __c6xabi_strasgi_64plus(int *dst, const int *src, unsigned cnt);
63 EXPORT_SYMBOL(__c6xabi_strasgi_64plus);
65 /* lib functions */
66 EXPORT_SYMBOL(memcpy);