Al Viro | 3e3b48e | 2008-05-21 06:32:11 +0100 | [diff] [blame] | 1 | #include <linux/module.h> |
| 2 | #include <asm/string.h> |
| 3 | #include <asm/checksum.h> |
Paolo 'Blaisorblade' Giarrusso | 23352fc | 2005-05-05 16:15:16 -0700 | [diff] [blame] | 4 | |
Al Viro | 6582b7f | 2011-08-18 20:03:19 +0100 | [diff] [blame] | 5 | #ifndef CONFIG_X86_32 |
Paolo 'Blaisorblade' Giarrusso | 23352fc | 2005-05-05 16:15:16 -0700 | [diff] [blame] | 6 | /*XXX: we need them because they would be exported by x86_64 */ |
Jeff Dike | 8bfd04b | 2008-06-05 22:46:13 -0700 | [diff] [blame] | 7 | #if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4 |
| 8 | EXPORT_SYMBOL(memcpy); |
| 9 | #else |
Paolo 'Blaisorblade' Giarrusso | 23352fc | 2005-05-05 16:15:16 -0700 | [diff] [blame] | 10 | EXPORT_SYMBOL(__memcpy); |
Jeff Dike | 8bfd04b | 2008-06-05 22:46:13 -0700 | [diff] [blame] | 11 | #endif |
Al Viro | 6582b7f | 2011-08-18 20:03:19 +0100 | [diff] [blame] | 12 | #endif |
Al Viro | 3e3b48e | 2008-05-21 06:32:11 +0100 | [diff] [blame] | 13 | EXPORT_SYMBOL(csum_partial); |