Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-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
33 EXPORT_SYMBOL(clear_page);
34 EXPORT_SYMBOL(copy_page);
35
36 /*
37  * Userspace access stuff.
38  */
39 EXPORT_SYMBOL(copy_from_user);
40 EXPORT_SYMBOL(copy_to_user);
41 EXPORT_SYMBOL(__copy_user);
42 EXPORT_SYMBOL(strncpy_from_user);
43 EXPORT_SYMBOL(__strncpy_from_user);
44 EXPORT_SYMBOL(clear_user);
45 EXPORT_SYMBOL(__clear_user);
46 EXPORT_SYMBOL(strnlen_user);
47
48 EXPORT_SYMBOL(csum_partial);
49 EXPORT_SYMBOL(csum_partial_copy_generic);
50
51 /* Delay loops (lib/delay.S) */
52 EXPORT_SYMBOL(__ndelay);
53 EXPORT_SYMBOL(__udelay);
54 EXPORT_SYMBOL(__const_udelay);
55
56 /* Bit operations (lib/findbit.S) */
57 EXPORT_SYMBOL(find_first_zero_bit);
58 EXPORT_SYMBOL(find_next_zero_bit);
59 EXPORT_SYMBOL(find_first_bit);
60 EXPORT_SYMBOL(find_next_bit);
61 EXPORT_SYMBOL(generic_find_next_zero_le_bit);
62
63 /* I/O primitives (lib/io-*.S) */
64 EXPORT_SYMBOL(__raw_readsb);
65 EXPORT_SYMBOL(__raw_readsw);
66 EXPORT_SYMBOL(__raw_readsl);
67 EXPORT_SYMBOL(__raw_writesb);
68 EXPORT_SYMBOL(__raw_writesw);
69 EXPORT_SYMBOL(__raw_writesl);