ia64_ksyms.c 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * Architecture-specific kernel symbols
  3. *
  4. * Don't put any exports here unless it's defined in an assembler file.
  5. * All other exports should be put directly after the definition.
  6. */
  7. #include <linux/module.h>
  8. #include <linux/string.h>
  9. EXPORT_SYMBOL(memset);
  10. EXPORT_SYMBOL(memcpy);
  11. EXPORT_SYMBOL(strlen);
  12. #include <asm/pgtable.h>
  13. EXPORT_SYMBOL_GPL(empty_zero_page);
  14. #include <asm/checksum.h>
  15. EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */
  16. EXPORT_SYMBOL(csum_ipv6_magic);
  17. #include <asm/page.h>
  18. EXPORT_SYMBOL(clear_page);
  19. EXPORT_SYMBOL(copy_page);
  20. #ifdef CONFIG_VIRTUAL_MEM_MAP
  21. #include <linux/bootmem.h>
  22. EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */
  23. EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */
  24. #endif
  25. #include <asm/processor.h>
  26. EXPORT_SYMBOL(ia64_cpu_info);
  27. #ifdef CONFIG_SMP
  28. EXPORT_SYMBOL(local_per_cpu_offset);
  29. #endif
  30. #include <asm/uaccess.h>
  31. EXPORT_SYMBOL(__copy_user);
  32. EXPORT_SYMBOL(__do_clear_user);
  33. EXPORT_SYMBOL(__strlen_user);
  34. EXPORT_SYMBOL(__strncpy_from_user);
  35. EXPORT_SYMBOL(__strnlen_user);
  36. /* from arch/ia64/lib */
  37. extern void __divsi3(void);
  38. extern void __udivsi3(void);
  39. extern void __modsi3(void);
  40. extern void __umodsi3(void);
  41. extern void __divdi3(void);
  42. extern void __udivdi3(void);
  43. extern void __moddi3(void);
  44. extern void __umoddi3(void);
  45. EXPORT_SYMBOL(__divsi3);
  46. EXPORT_SYMBOL(__udivsi3);
  47. EXPORT_SYMBOL(__modsi3);
  48. EXPORT_SYMBOL(__umodsi3);
  49. EXPORT_SYMBOL(__divdi3);
  50. EXPORT_SYMBOL(__udivdi3);
  51. EXPORT_SYMBOL(__moddi3);
  52. EXPORT_SYMBOL(__umoddi3);
  53. #if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE)
  54. extern void xor_ia64_2(void);
  55. extern void xor_ia64_3(void);
  56. extern void xor_ia64_4(void);
  57. extern void xor_ia64_5(void);
  58. EXPORT_SYMBOL(xor_ia64_2);
  59. EXPORT_SYMBOL(xor_ia64_3);
  60. EXPORT_SYMBOL(xor_ia64_4);
  61. EXPORT_SYMBOL(xor_ia64_5);
  62. #endif
  63. #include <asm/pal.h>
  64. EXPORT_SYMBOL(ia64_pal_call_phys_stacked);
  65. EXPORT_SYMBOL(ia64_pal_call_phys_static);
  66. EXPORT_SYMBOL(ia64_pal_call_stacked);
  67. EXPORT_SYMBOL(ia64_pal_call_static);
  68. EXPORT_SYMBOL(ia64_load_scratch_fpregs);
  69. EXPORT_SYMBOL(ia64_save_scratch_fpregs);
  70. #include <asm/unwind.h>
  71. EXPORT_SYMBOL(unw_init_running);
  72. #if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE)
  73. extern void esi_call_phys (void);
  74. EXPORT_SYMBOL_GPL(esi_call_phys);
  75. #endif
  76. extern char ia64_ivt[];
  77. EXPORT_SYMBOL(ia64_ivt);
  78. #include <asm/ftrace.h>
  79. #ifdef CONFIG_FUNCTION_TRACER
  80. /* mcount is defined in assembly */
  81. EXPORT_SYMBOL(_mcount);
  82. #endif
  83. #include <asm/cacheflush.h>
  84. EXPORT_SYMBOL_GPL(flush_icache_range);