[PATCH] AVR32: Implement and export __raw_{read,write}s[bwl]
[wandboard.git] / arch / avr32 / kernel / avr32_ksyms.c
blob372e3f8b2417737c38d3be01bcd3990d4f71967e
1 /*
2 * Export AVR32-specific functions for loadable modules.
4 * Copyright (C) 2004-2006 Atmel Corporation
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/io.h>
11 #include <linux/module.h>
13 #include <asm/checksum.h>
14 #include <asm/uaccess.h>
15 #include <asm/delay.h>
18 * GCC functions
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);
28 * String functions
30 EXPORT_SYMBOL(memset);
31 EXPORT_SYMBOL(memcpy);
34 * Userspace access stuff.
36 EXPORT_SYMBOL(copy_from_user);
37 EXPORT_SYMBOL(copy_to_user);
38 EXPORT_SYMBOL(__copy_user);
39 EXPORT_SYMBOL(strncpy_from_user);
40 EXPORT_SYMBOL(__strncpy_from_user);
41 EXPORT_SYMBOL(clear_user);
42 EXPORT_SYMBOL(__clear_user);
43 EXPORT_SYMBOL(csum_partial);
44 EXPORT_SYMBOL(csum_partial_copy_generic);
46 /* Delay loops (lib/delay.S) */
47 EXPORT_SYMBOL(__ndelay);
48 EXPORT_SYMBOL(__udelay);
49 EXPORT_SYMBOL(__const_udelay);
51 /* Bit operations (lib/findbit.S) */
52 EXPORT_SYMBOL(find_first_zero_bit);
53 EXPORT_SYMBOL(find_next_zero_bit);
54 EXPORT_SYMBOL(find_first_bit);
55 EXPORT_SYMBOL(find_next_bit);
56 EXPORT_SYMBOL(generic_find_next_zero_le_bit);
58 /* I/O primitives (lib/io-*.S) */
59 EXPORT_SYMBOL(__raw_readsb);
60 EXPORT_SYMBOL(__raw_readsw);
61 EXPORT_SYMBOL(__raw_readsl);
62 EXPORT_SYMBOL(__raw_writesb);
63 EXPORT_SYMBOL(__raw_writesw);
64 EXPORT_SYMBOL(__raw_writesl);