ia64_ksyms.c 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. #ifdef CONFIG_VIRTUAL_MEM_MAP
  20. #include <linux/bootmem.h>
  21. EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */
  22. EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */
  23. #endif
  24. #include <asm/processor.h>
  25. EXPORT_SYMBOL(per_cpu__cpu_info);
  26. #ifdef CONFIG_SMP
  27. EXPORT_SYMBOL(per_cpu__local_per_cpu_offset);
  28. #endif
  29. #include <asm/uaccess.h>
  30. EXPORT_SYMBOL(__copy_user);
  31. EXPORT_SYMBOL(__do_clear_user);
  32. EXPORT_SYMBOL(__strlen_user);
  33. EXPORT_SYMBOL(__strncpy_from_user);
  34. EXPORT_SYMBOL(__strnlen_user);
  35. /* from arch/ia64/lib */
  36. extern void __divsi3(void);
  37. extern void __udivsi3(void);
  38. extern void __modsi3(void);
  39. extern void __umodsi3(void);
  40. extern void __divdi3(void);
  41. extern void __udivdi3(void);
  42. extern void __moddi3(void);
  43. extern void __umoddi3(void);
  44. EXPORT_SYMBOL(__divsi3);
  45. EXPORT_SYMBOL(__udivsi3);
  46. EXPORT_SYMBOL(__modsi3);
  47. EXPORT_SYMBOL(__umodsi3);
  48. EXPORT_SYMBOL(__divdi3);
  49. EXPORT_SYMBOL(__udivdi3);
  50. EXPORT_SYMBOL(__moddi3);
  51. EXPORT_SYMBOL(__umoddi3);
  52. #include <asm/page.h>
  53. EXPORT_SYMBOL(copy_page);
  54. #if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE)
  55. extern void xor_ia64_2(void);
  56. extern void xor_ia64_3(void);
  57. extern void xor_ia64_4(void);
  58. extern void xor_ia64_5(void);
  59. EXPORT_SYMBOL(xor_ia64_2);
  60. EXPORT_SYMBOL(xor_ia64_3);
  61. EXPORT_SYMBOL(xor_ia64_4);
  62. EXPORT_SYMBOL(xor_ia64_5);
  63. #endif
  64. #include <asm/pal.h>
  65. EXPORT_SYMBOL(ia64_pal_call_phys_stacked);
  66. EXPORT_SYMBOL(ia64_pal_call_phys_static);
  67. EXPORT_SYMBOL(ia64_pal_call_stacked);
  68. EXPORT_SYMBOL(ia64_pal_call_static);
  69. EXPORT_SYMBOL(ia64_load_scratch_fpregs);
  70. EXPORT_SYMBOL(ia64_save_scratch_fpregs);
  71. #include <asm/unwind.h>
  72. EXPORT_SYMBOL(unw_init_running);
  73. #ifdef ASM_SUPPORTED
  74. # ifdef CONFIG_SMP
  75. # if (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
  76. /*
  77. * This is not a normal routine and we don't want a function descriptor for it, so we use
  78. * a fake declaration here.
  79. */
  80. extern char ia64_spinlock_contention_pre3_4;
  81. EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4);
  82. # else
  83. /*
  84. * This is not a normal routine and we don't want a function descriptor for it, so we use
  85. * a fake declaration here.
  86. */
  87. extern char ia64_spinlock_contention;
  88. EXPORT_SYMBOL(ia64_spinlock_contention);
  89. # endif
  90. # endif
  91. #endif
  92. #if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE)
  93. extern void esi_call_phys (void);
  94. EXPORT_SYMBOL_GPL(esi_call_phys);
  95. #endif
  96. extern char ia64_ivt[];
  97. EXPORT_SYMBOL(ia64_ivt);