parisc_ksyms.c 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /*
  2. * Architecture-specific kernel symbols
  3. *
  4. * Copyright (C) 2000-2001 Richard Hirst <rhirst with parisc-linux.org>
  5. * Copyright (C) 2001 Dave Kennedy
  6. * Copyright (C) 2001 Paul Bame <bame at parisc-linux.org>
  7. * Copyright (C) 2001-2003 Grant Grundler <grundler with parisc-linux.org>
  8. * Copyright (C) 2002-2003 Matthew Wilcox <willy at parisc-linux.org>
  9. * Copyright (C) 2002 Randolph Chung <tausq at parisc-linux.org>
  10. * Copyright (C) 2002-2007 Helge Deller <deller with parisc-linux.org>
  11. *
  12. * This program is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License as published by
  14. * the Free Software Foundation; either version 2 of the License, or
  15. * (at your option) any later version.
  16. *
  17. * This program is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU General Public License for more details.
  21. *
  22. * You should have received a copy of the GNU General Public License
  23. * along with this program; if not, write to the Free Software
  24. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  25. */
  26. #include <linux/module.h>
  27. #include <linux/kernel.h>
  28. #include <linux/syscalls.h>
  29. #include <linux/string.h>
  30. EXPORT_SYMBOL(memset);
  31. #include <linux/atomic.h>
  32. EXPORT_SYMBOL(__xchg8);
  33. EXPORT_SYMBOL(__xchg32);
  34. EXPORT_SYMBOL(__cmpxchg_u32);
  35. EXPORT_SYMBOL(__cmpxchg_u64);
  36. #ifdef CONFIG_SMP
  37. EXPORT_SYMBOL(__atomic_hash);
  38. #endif
  39. #ifdef CONFIG_64BIT
  40. EXPORT_SYMBOL(__xchg64);
  41. #endif
  42. #include <linux/uaccess.h>
  43. EXPORT_SYMBOL(lclear_user);
  44. EXPORT_SYMBOL(lstrnlen_user);
  45. #ifndef CONFIG_64BIT
  46. /* Needed so insmod can set dp value */
  47. extern int $global$;
  48. EXPORT_SYMBOL($global$);
  49. #endif
  50. #include <asm/io.h>
  51. EXPORT_SYMBOL(memcpy_toio);
  52. EXPORT_SYMBOL(memcpy_fromio);
  53. EXPORT_SYMBOL(memset_io);
  54. extern void $$divI(void);
  55. extern void $$divU(void);
  56. extern void $$remI(void);
  57. extern void $$remU(void);
  58. extern void $$mulI(void);
  59. extern void $$divU_3(void);
  60. extern void $$divU_5(void);
  61. extern void $$divU_6(void);
  62. extern void $$divU_9(void);
  63. extern void $$divU_10(void);
  64. extern void $$divU_12(void);
  65. extern void $$divU_7(void);
  66. extern void $$divU_14(void);
  67. extern void $$divU_15(void);
  68. extern void $$divI_3(void);
  69. extern void $$divI_5(void);
  70. extern void $$divI_6(void);
  71. extern void $$divI_7(void);
  72. extern void $$divI_9(void);
  73. extern void $$divI_10(void);
  74. extern void $$divI_12(void);
  75. extern void $$divI_14(void);
  76. extern void $$divI_15(void);
  77. EXPORT_SYMBOL($$divI);
  78. EXPORT_SYMBOL($$divU);
  79. EXPORT_SYMBOL($$remI);
  80. EXPORT_SYMBOL($$remU);
  81. EXPORT_SYMBOL($$mulI);
  82. EXPORT_SYMBOL($$divU_3);
  83. EXPORT_SYMBOL($$divU_5);
  84. EXPORT_SYMBOL($$divU_6);
  85. EXPORT_SYMBOL($$divU_9);
  86. EXPORT_SYMBOL($$divU_10);
  87. EXPORT_SYMBOL($$divU_12);
  88. EXPORT_SYMBOL($$divU_7);
  89. EXPORT_SYMBOL($$divU_14);
  90. EXPORT_SYMBOL($$divU_15);
  91. EXPORT_SYMBOL($$divI_3);
  92. EXPORT_SYMBOL($$divI_5);
  93. EXPORT_SYMBOL($$divI_6);
  94. EXPORT_SYMBOL($$divI_7);
  95. EXPORT_SYMBOL($$divI_9);
  96. EXPORT_SYMBOL($$divI_10);
  97. EXPORT_SYMBOL($$divI_12);
  98. EXPORT_SYMBOL($$divI_14);
  99. EXPORT_SYMBOL($$divI_15);
  100. extern void __ashrdi3(void);
  101. extern void __ashldi3(void);
  102. extern void __lshrdi3(void);
  103. extern void __muldi3(void);
  104. extern void __ucmpdi2(void);
  105. EXPORT_SYMBOL(__ashrdi3);
  106. EXPORT_SYMBOL(__ashldi3);
  107. EXPORT_SYMBOL(__lshrdi3);
  108. EXPORT_SYMBOL(__muldi3);
  109. EXPORT_SYMBOL(__ucmpdi2);
  110. asmlinkage void * __canonicalize_funcptr_for_compare(void *);
  111. EXPORT_SYMBOL(__canonicalize_funcptr_for_compare);
  112. #ifdef CONFIG_64BIT
  113. extern void __divdi3(void);
  114. extern void __udivdi3(void);
  115. extern void __umoddi3(void);
  116. extern void __moddi3(void);
  117. EXPORT_SYMBOL(__divdi3);
  118. EXPORT_SYMBOL(__udivdi3);
  119. EXPORT_SYMBOL(__umoddi3);
  120. EXPORT_SYMBOL(__moddi3);
  121. #endif
  122. #ifndef CONFIG_64BIT
  123. extern void $$dyncall(void);
  124. EXPORT_SYMBOL($$dyncall);
  125. #endif
  126. #ifdef CONFIG_DISCONTIGMEM
  127. #include <asm/mmzone.h>
  128. EXPORT_SYMBOL(node_data);
  129. EXPORT_SYMBOL(pfnnid_map);
  130. #endif
  131. #ifdef CONFIG_FUNCTION_TRACER
  132. extern void _mcount(void);
  133. EXPORT_SYMBOL(_mcount);
  134. #endif
  135. /* from pacache.S -- needed for clear/copy_page */
  136. EXPORT_SYMBOL(clear_page_asm);
  137. EXPORT_SYMBOL(copy_page_asm);