ia64_ksyms.c 3.1 KB

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