mips_ksyms.c 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * Export MIPS-specific functions needed for loadable modules.
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 1996, 97, 98, 99, 2000, 01, 03, 04, 05 by Ralf Baechle
  9. * Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
  10. */
  11. #include <linux/config.h>
  12. #include <linux/interrupt.h>
  13. #include <linux/module.h>
  14. #include <asm/checksum.h>
  15. #include <asm/pgtable.h>
  16. #include <asm/uaccess.h>
  17. extern void *__bzero(void *__s, size_t __count);
  18. extern long __strncpy_from_user_nocheck_asm(char *__to,
  19. const char *__from, long __len);
  20. extern long __strncpy_from_user_asm(char *__to, const char *__from,
  21. long __len);
  22. extern long __strlen_user_nocheck_asm(const char *s);
  23. extern long __strlen_user_asm(const char *s);
  24. extern long __strnlen_user_nocheck_asm(const char *s);
  25. extern long __strnlen_user_asm(const char *s);
  26. /*
  27. * String functions
  28. */
  29. EXPORT_SYMBOL(memchr);
  30. EXPORT_SYMBOL(memcmp);
  31. EXPORT_SYMBOL(memset);
  32. EXPORT_SYMBOL(memcpy);
  33. EXPORT_SYMBOL(memmove);
  34. EXPORT_SYMBOL(strcat);
  35. EXPORT_SYMBOL(strchr);
  36. #ifdef CONFIG_64BIT
  37. EXPORT_SYMBOL(strncmp);
  38. #endif
  39. EXPORT_SYMBOL(strlen);
  40. EXPORT_SYMBOL(strpbrk);
  41. EXPORT_SYMBOL(strncat);
  42. EXPORT_SYMBOL(strnlen);
  43. EXPORT_SYMBOL(strrchr);
  44. EXPORT_SYMBOL(strstr);
  45. EXPORT_SYMBOL(kernel_thread);
  46. /*
  47. * Userspace access stuff.
  48. */
  49. EXPORT_SYMBOL(__copy_user);
  50. EXPORT_SYMBOL(__bzero);
  51. EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm);
  52. EXPORT_SYMBOL(__strncpy_from_user_asm);
  53. EXPORT_SYMBOL(__strlen_user_nocheck_asm);
  54. EXPORT_SYMBOL(__strlen_user_asm);
  55. EXPORT_SYMBOL(__strnlen_user_nocheck_asm);
  56. EXPORT_SYMBOL(__strnlen_user_asm);
  57. EXPORT_SYMBOL(csum_partial);
  58. EXPORT_SYMBOL(invalid_pte_table);
  59. #ifdef CONFIG_GENERIC_IRQ_PROBE
  60. EXPORT_SYMBOL(probe_irq_mask);
  61. #endif