/arch/um/sys-x86_64/ksyms.c

https://bitbucket.org/ndreys/linux-sunxi · C · 11 lines · 9 code · 1 blank · 1 comment · 3 complexity · c193a4439310ad09a5c2f347bd1de878 MD5 · raw file

  1. #include <linux/module.h>
  2. #include <asm/string.h>
  3. #include <asm/checksum.h>
  4. /*XXX: we need them because they would be exported by x86_64 */
  5. #if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4
  6. EXPORT_SYMBOL(memcpy);
  7. #else
  8. EXPORT_SYMBOL(__memcpy);
  9. #endif
  10. EXPORT_SYMBOL(csum_partial);