riscv_ksyms.c 512 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2017 Zihao Yu
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #include <linux/export.h>
  9. #include <linux/uaccess.h>
  10. /*
  11. * Assembly functions that may be used (directly or indirectly) by modules
  12. */
  13. EXPORT_SYMBOL(__clear_user);
  14. EXPORT_SYMBOL(__asm_copy_to_user);
  15. EXPORT_SYMBOL(__asm_copy_from_user);
  16. EXPORT_SYMBOL(memset);
  17. EXPORT_SYMBOL(memcpy);