sh_ksyms.c 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #include <linux/module.h>
  2. #include <linux/smp.h>
  3. #include <linux/user.h>
  4. #include <linux/elfcore.h>
  5. #include <linux/sched.h>
  6. #include <linux/in6.h>
  7. #include <linux/interrupt.h>
  8. #include <linux/smp_lock.h>
  9. #include <linux/vmalloc.h>
  10. #include <linux/pci.h>
  11. #include <linux/irq.h>
  12. #include <asm/semaphore.h>
  13. #include <asm/processor.h>
  14. #include <asm/uaccess.h>
  15. #include <asm/checksum.h>
  16. #include <asm/io.h>
  17. #include <asm/delay.h>
  18. #include <asm/tlbflush.h>
  19. #include <asm/cacheflush.h>
  20. #include <asm/checksum.h>
  21. extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
  22. extern struct hw_interrupt_type no_irq_type;
  23. EXPORT_SYMBOL(sh_mv);
  24. /* platform dependent support */
  25. EXPORT_SYMBOL(dump_fpu);
  26. EXPORT_SYMBOL(kernel_thread);
  27. EXPORT_SYMBOL(irq_desc);
  28. EXPORT_SYMBOL(no_irq_type);
  29. EXPORT_SYMBOL(strlen);
  30. /* PCI exports */
  31. #ifdef CONFIG_PCI
  32. EXPORT_SYMBOL(pci_alloc_consistent);
  33. EXPORT_SYMBOL(pci_free_consistent);
  34. #endif
  35. /* mem exports */
  36. EXPORT_SYMBOL(memchr);
  37. EXPORT_SYMBOL(memcpy);
  38. EXPORT_SYMBOL(memset);
  39. EXPORT_SYMBOL(memmove);
  40. EXPORT_SYMBOL(__copy_user);
  41. EXPORT_SYMBOL(boot_cpu_data);
  42. #ifdef CONFIG_MMU
  43. EXPORT_SYMBOL(get_vm_area);
  44. #endif
  45. /* semaphore exports */
  46. EXPORT_SYMBOL(__up);
  47. EXPORT_SYMBOL(__down);
  48. EXPORT_SYMBOL(__down_interruptible);
  49. EXPORT_SYMBOL(__udelay);
  50. EXPORT_SYMBOL(__ndelay);
  51. EXPORT_SYMBOL(__const_udelay);
  52. EXPORT_SYMBOL(__div64_32);
  53. #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
  54. /* These symbols are generated by the compiler itself */
  55. DECLARE_EXPORT(__udivsi3);
  56. DECLARE_EXPORT(__udivdi3);
  57. DECLARE_EXPORT(__sdivsi3);
  58. DECLARE_EXPORT(__ashrdi3);
  59. DECLARE_EXPORT(__ashldi3);
  60. DECLARE_EXPORT(__lshrdi3);
  61. DECLARE_EXPORT(__movstr);
  62. DECLARE_EXPORT(__movstrSI16);
  63. EXPORT_SYMBOL(strcpy);
  64. #ifdef CONFIG_CPU_SH4
  65. DECLARE_EXPORT(__movstr_i4_even);
  66. DECLARE_EXPORT(__movstr_i4_odd);
  67. DECLARE_EXPORT(__movstrSI12_i4);
  68. #endif
  69. #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)
  70. /* needed by some modules */
  71. EXPORT_SYMBOL(flush_cache_all);
  72. EXPORT_SYMBOL(flush_cache_range);
  73. EXPORT_SYMBOL(flush_dcache_page);
  74. EXPORT_SYMBOL(__flush_purge_region);
  75. #endif
  76. #if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
  77. defined(CONFIG_SH7705_CACHE_32KB))
  78. EXPORT_SYMBOL(clear_user_page);
  79. #endif
  80. EXPORT_SYMBOL(flush_tlb_page);
  81. EXPORT_SYMBOL(__down_trylock);
  82. #ifdef CONFIG_SMP
  83. EXPORT_SYMBOL(synchronize_irq);
  84. #endif
  85. #ifdef CONFIG_PM
  86. EXPORT_SYMBOL(pm_suspend);
  87. #endif
  88. EXPORT_SYMBOL(csum_partial);
  89. #ifdef CONFIG_IPV6
  90. EXPORT_SYMBOL(csum_ipv6_magic);
  91. #endif
  92. EXPORT_SYMBOL(clear_page);