ia64_ksyms.c 2.8 KB

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