sh_ksyms_64.c 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. * arch/sh/kernel/sh_ksyms_64.c
  3. *
  4. * Copyright (C) 2000, 2001 Paolo Alberelli
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #include <linux/rwsem.h>
  11. #include <linux/module.h>
  12. #include <linux/smp.h>
  13. #include <linux/user.h>
  14. #include <linux/elfcore.h>
  15. #include <linux/sched.h>
  16. #include <linux/in6.h>
  17. #include <linux/interrupt.h>
  18. #include <linux/screen_info.h>
  19. #include <asm/cacheflush.h>
  20. #include <asm/processor.h>
  21. #include <asm/uaccess.h>
  22. #include <asm/checksum.h>
  23. #include <asm/io.h>
  24. #include <asm/delay.h>
  25. #include <asm/irq.h>
  26. extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
  27. /* platform dependent support */
  28. EXPORT_SYMBOL(dump_fpu);
  29. EXPORT_SYMBOL(kernel_thread);
  30. #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU)
  31. EXPORT_SYMBOL(clear_user_page);
  32. #endif
  33. #ifndef CONFIG_CACHE_OFF
  34. EXPORT_SYMBOL(flush_dcache_page);
  35. #endif
  36. /* Networking helper routines. */
  37. EXPORT_SYMBOL(csum_partial);
  38. EXPORT_SYMBOL(csum_partial_copy_nocheck);
  39. #ifdef CONFIG_IPV6
  40. EXPORT_SYMBOL(csum_ipv6_magic);
  41. #endif
  42. #ifdef CONFIG_VT
  43. EXPORT_SYMBOL(screen_info);
  44. #endif
  45. EXPORT_SYMBOL(__put_user_asm_b);
  46. EXPORT_SYMBOL(__put_user_asm_w);
  47. EXPORT_SYMBOL(__put_user_asm_l);
  48. EXPORT_SYMBOL(__put_user_asm_q);
  49. EXPORT_SYMBOL(__get_user_asm_b);
  50. EXPORT_SYMBOL(__get_user_asm_w);
  51. EXPORT_SYMBOL(__get_user_asm_l);
  52. EXPORT_SYMBOL(__get_user_asm_q);
  53. EXPORT_SYMBOL(__strnlen_user);
  54. EXPORT_SYMBOL(__strncpy_from_user);
  55. EXPORT_SYMBOL(clear_page);
  56. EXPORT_SYMBOL(__clear_user);
  57. EXPORT_SYMBOL(copy_page);
  58. EXPORT_SYMBOL(__copy_user);
  59. EXPORT_SYMBOL(empty_zero_page);
  60. EXPORT_SYMBOL(memcpy);
  61. EXPORT_SYMBOL(memset);
  62. EXPORT_SYMBOL(__udelay);
  63. EXPORT_SYMBOL(__ndelay);
  64. EXPORT_SYMBOL(__const_udelay);
  65. EXPORT_SYMBOL(strlen);
  66. EXPORT_SYMBOL(strcpy);
  67. /* Ugh. These come in from libgcc.a at link time. */
  68. #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
  69. DECLARE_EXPORT(__sdivsi3);
  70. DECLARE_EXPORT(__udivsi3);
  71. DECLARE_EXPORT(__div_table);