diff options
Diffstat (limited to 'arch/um/sys-x86_64/ksyms.c')
-rw-r--r-- | arch/um/sys-x86_64/ksyms.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/um/sys-x86_64/ksyms.c b/arch/um/sys-x86_64/ksyms.c new file mode 100644 index 00000000000..1db2fce0094 --- /dev/null +++ b/arch/um/sys-x86_64/ksyms.c | |||
@@ -0,0 +1,11 @@ | |||
1 | #include <linux/module.h> | ||
2 | #include <asm/string.h> | ||
3 | #include <asm/checksum.h> | ||
4 | |||
5 | /*XXX: we need them because they would be exported by x86_64 */ | ||
6 | #if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4 | ||
7 | EXPORT_SYMBOL(memcpy); | ||
8 | #else | ||
9 | EXPORT_SYMBOL(__memcpy); | ||
10 | #endif | ||
11 | EXPORT_SYMBOL(csum_partial); | ||