Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / arch / avr32 / kernel / avr32_ksyms.c
1 /*
2  * Export AVR32-specific functions for loadable modules.
3  *
4  * Copyright (C) 2004-2006 Atmel Corporation
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 #include <linux/delay.h>
11 #include <linux/io.h>
12 #include <linux/module.h>
13
14 #include <asm/checksum.h>
15 #include <asm/uaccess.h>
16
17 /*
18  * GCC functions
19  */
20 extern unsigned long long __avr32_lsl64(unsigned long long u, unsigned long b);
21 extern unsigned long long __avr32_lsr64(unsigned long long u, unsigned long b);
22 extern unsigned long long __avr32_asr64(unsigned long long u, unsigned long b);
23 EXPORT_SYMBOL(__avr32_lsl64);
24 EXPORT_SYMBOL(__avr32_lsr64);
25 EXPORT_SYMBOL(__avr32_asr64);
26
27 /*
28  * String functions
29  */
30 EXPORT_SYMBOL(memset);
31 EXPORT_SYMBOL(memcpy);
32 EXPORT_SYMBOL(clear_page);
33
34 /*
35  * Userspace access stuff.
36  */
37 EXPORT_SYMBOL(copy_from_user);
38 EXPORT_SYMBOL(copy_to_user);
39 EXPORT_SYMBOL(__copy_user);
40 EXPORT_SYMBOL(strncpy_from_user);
41 EXPORT_SYMBOL(__strncpy_from_user);
42 EXPORT_SYMBOL(clear_user);
43 EXPORT_SYMBOL(__clear_user);
44 EXPORT_SYMBOL(csum_partial);
45 EXPORT_SYMBOL(csum_partial_copy_generic);
46
47 /* Delay loops (lib/delay.S) */
48 EXPORT_SYMBOL(__ndelay);
49 EXPORT_SYMBOL(__udelay);
50 EXPORT_SYMBOL(__const_udelay);
51
52 /* Bit operations (lib/findbit.S) */
53 EXPORT_SYMBOL(find_first_zero_bit);
54 EXPORT_SYMBOL(find_next_zero_bit);
55 EXPORT_SYMBOL(find_first_bit);
56 EXPORT_SYMBOL(find_next_bit);
57 EXPORT_SYMBOL(generic_find_next_zero_le_bit);
58
59 /* I/O primitives (lib/io-*.S) */
60 EXPORT_SYMBOL(__raw_readsb);
61 EXPORT_SYMBOL(__raw_readsw);
62 EXPORT_SYMBOL(__raw_readsl);
63 EXPORT_SYMBOL(__raw_writesb);
64 EXPORT_SYMBOL(__raw_writesw);
65 EXPORT_SYMBOL(__raw_writesl);