Merge branch 'master' of git://oak/home/sfr/kernels/iseries/work
[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/module.h>
11
12 #include <asm/checksum.h>
13 #include <asm/uaccess.h>
14 #include <asm/delay.h>
15
16 /*
17  * GCC functions
18  */
19 extern unsigned long long __avr32_lsl64(unsigned long long u, unsigned long b);
20 extern unsigned long long __avr32_lsr64(unsigned long long u, unsigned long b);
21 extern unsigned long long __avr32_asr64(unsigned long long u, unsigned long b);
22 EXPORT_SYMBOL(__avr32_lsl64);
23 EXPORT_SYMBOL(__avr32_lsr64);
24 EXPORT_SYMBOL(__avr32_asr64);
25
26 /*
27  * String functions
28  */
29 EXPORT_SYMBOL(memset);
30 EXPORT_SYMBOL(memcpy);
31
32 /*
33  * Userspace access stuff.
34  */
35 EXPORT_SYMBOL(copy_from_user);
36 EXPORT_SYMBOL(copy_to_user);
37 EXPORT_SYMBOL(__copy_user);
38 EXPORT_SYMBOL(strncpy_from_user);
39 EXPORT_SYMBOL(__strncpy_from_user);
40 EXPORT_SYMBOL(clear_user);
41 EXPORT_SYMBOL(__clear_user);
42 EXPORT_SYMBOL(csum_partial);
43 EXPORT_SYMBOL(csum_partial_copy_generic);
44
45 /* Delay loops (lib/delay.S) */
46 EXPORT_SYMBOL(__ndelay);
47 EXPORT_SYMBOL(__udelay);
48 EXPORT_SYMBOL(__const_udelay);
49
50 /* Bit operations (lib/findbit.S) */
51 EXPORT_SYMBOL(find_first_zero_bit);
52 EXPORT_SYMBOL(find_next_zero_bit);
53 EXPORT_SYMBOL(find_first_bit);
54 EXPORT_SYMBOL(find_next_bit);
55 EXPORT_SYMBOL(generic_find_next_zero_le_bit);