arm64ksyms.c 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. * Based on arch/arm/kernel/armksyms.c
  3. *
  4. * Copyright (C) 2000 Russell King
  5. * Copyright (C) 2012 ARM Ltd.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #include <linux/export.h>
  20. #include <linux/sched.h>
  21. #include <linux/string.h>
  22. #include <linux/cryptohash.h>
  23. #include <linux/delay.h>
  24. #include <linux/in6.h>
  25. #include <linux/syscalls.h>
  26. #include <linux/uaccess.h>
  27. #include <linux/io.h>
  28. #include <asm/checksum.h>
  29. EXPORT_SYMBOL(copy_page);
  30. EXPORT_SYMBOL(clear_page);
  31. /* user mem (segment) */
  32. EXPORT_SYMBOL(__copy_from_user);
  33. EXPORT_SYMBOL(__copy_to_user);
  34. EXPORT_SYMBOL(__clear_user);
  35. EXPORT_SYMBOL(__copy_in_user);
  36. /* physical memory */
  37. EXPORT_SYMBOL(memstart_addr);
  38. /* string / mem functions */
  39. EXPORT_SYMBOL(strchr);
  40. EXPORT_SYMBOL(strrchr);
  41. EXPORT_SYMBOL(strcmp);
  42. EXPORT_SYMBOL(strncmp);
  43. EXPORT_SYMBOL(strlen);
  44. EXPORT_SYMBOL(strnlen);
  45. EXPORT_SYMBOL(memset);
  46. EXPORT_SYMBOL(memcpy);
  47. EXPORT_SYMBOL(memmove);
  48. EXPORT_SYMBOL(memchr);
  49. EXPORT_SYMBOL(memcmp);
  50. /* atomic bitops */
  51. EXPORT_SYMBOL(set_bit);
  52. EXPORT_SYMBOL(test_and_set_bit);
  53. EXPORT_SYMBOL(clear_bit);
  54. EXPORT_SYMBOL(test_and_clear_bit);
  55. EXPORT_SYMBOL(change_bit);
  56. EXPORT_SYMBOL(test_and_change_bit);
  57. #ifdef CONFIG_FUNCTION_TRACER
  58. EXPORT_SYMBOL(_mcount);
  59. #endif