i386_ksyms.c 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. #include <linux/config.h>
  2. #include <linux/module.h>
  3. #include <linux/smp.h>
  4. #include <linux/user.h>
  5. #include <linux/elfcore.h>
  6. #include <linux/mca.h>
  7. #include <linux/sched.h>
  8. #include <linux/in6.h>
  9. #include <linux/interrupt.h>
  10. #include <linux/smp_lock.h>
  11. #include <linux/pm.h>
  12. #include <linux/pci.h>
  13. #include <linux/apm_bios.h>
  14. #include <linux/kernel.h>
  15. #include <linux/string.h>
  16. #include <linux/tty.h>
  17. #include <linux/highmem.h>
  18. #include <linux/time.h>
  19. #include <asm/semaphore.h>
  20. #include <asm/processor.h>
  21. #include <asm/i387.h>
  22. #include <asm/uaccess.h>
  23. #include <asm/checksum.h>
  24. #include <asm/io.h>
  25. #include <asm/delay.h>
  26. #include <asm/irq.h>
  27. #include <asm/mmx.h>
  28. #include <asm/desc.h>
  29. #include <asm/pgtable.h>
  30. #include <asm/tlbflush.h>
  31. #include <asm/nmi.h>
  32. #include <asm/ist.h>
  33. #include <asm/kdebug.h>
  34. extern void dump_thread(struct pt_regs *, struct user *);
  35. extern spinlock_t rtc_lock;
  36. /* This is definitely a GPL-only symbol */
  37. EXPORT_SYMBOL_GPL(cpu_gdt_table);
  38. #if defined(CONFIG_APM_MODULE)
  39. extern void machine_real_restart(unsigned char *, int);
  40. EXPORT_SYMBOL(machine_real_restart);
  41. extern void default_idle(void);
  42. EXPORT_SYMBOL(default_idle);
  43. #endif
  44. #ifdef CONFIG_SMP
  45. extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
  46. extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
  47. #endif
  48. #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
  49. extern struct drive_info_struct drive_info;
  50. EXPORT_SYMBOL(drive_info);
  51. #endif
  52. extern unsigned long cpu_khz;
  53. extern unsigned long get_cmos_time(void);
  54. /* platform dependent support */
  55. EXPORT_SYMBOL(boot_cpu_data);
  56. #ifdef CONFIG_DISCONTIGMEM
  57. EXPORT_SYMBOL(node_data);
  58. EXPORT_SYMBOL(physnode_map);
  59. #endif
  60. #ifdef CONFIG_X86_NUMAQ
  61. EXPORT_SYMBOL(xquad_portio);
  62. #endif
  63. EXPORT_SYMBOL(dump_thread);
  64. EXPORT_SYMBOL(dump_fpu);
  65. EXPORT_SYMBOL_GPL(kernel_fpu_begin);
  66. EXPORT_SYMBOL(__ioremap);
  67. EXPORT_SYMBOL(ioremap_nocache);
  68. EXPORT_SYMBOL(iounmap);
  69. EXPORT_SYMBOL(kernel_thread);
  70. EXPORT_SYMBOL(pm_idle);
  71. EXPORT_SYMBOL(pm_power_off);
  72. EXPORT_SYMBOL(get_cmos_time);
  73. EXPORT_SYMBOL(cpu_khz);
  74. EXPORT_SYMBOL(apm_info);
  75. EXPORT_SYMBOL(__down_failed);
  76. EXPORT_SYMBOL(__down_failed_interruptible);
  77. EXPORT_SYMBOL(__down_failed_trylock);
  78. EXPORT_SYMBOL(__up_wakeup);
  79. /* Networking helper routines. */
  80. EXPORT_SYMBOL(csum_partial_copy_generic);
  81. /* Delay loops */
  82. EXPORT_SYMBOL(__ndelay);
  83. EXPORT_SYMBOL(__udelay);
  84. EXPORT_SYMBOL(__delay);
  85. EXPORT_SYMBOL(__const_udelay);
  86. EXPORT_SYMBOL(__get_user_1);
  87. EXPORT_SYMBOL(__get_user_2);
  88. EXPORT_SYMBOL(__get_user_4);
  89. EXPORT_SYMBOL(__put_user_1);
  90. EXPORT_SYMBOL(__put_user_2);
  91. EXPORT_SYMBOL(__put_user_4);
  92. EXPORT_SYMBOL(__put_user_8);
  93. EXPORT_SYMBOL(strpbrk);
  94. EXPORT_SYMBOL(strstr);
  95. EXPORT_SYMBOL(strncpy_from_user);
  96. EXPORT_SYMBOL(__strncpy_from_user);
  97. EXPORT_SYMBOL(clear_user);
  98. EXPORT_SYMBOL(__clear_user);
  99. EXPORT_SYMBOL(__copy_from_user_ll);
  100. EXPORT_SYMBOL(__copy_to_user_ll);
  101. EXPORT_SYMBOL(strnlen_user);
  102. EXPORT_SYMBOL(dma_alloc_coherent);
  103. EXPORT_SYMBOL(dma_free_coherent);
  104. #ifdef CONFIG_PCI
  105. EXPORT_SYMBOL(pci_mem_start);
  106. #endif
  107. #ifdef CONFIG_PCI_BIOS
  108. EXPORT_SYMBOL(pcibios_set_irq_routing);
  109. EXPORT_SYMBOL(pcibios_get_irq_routing_table);
  110. #endif
  111. #ifdef CONFIG_X86_USE_3DNOW
  112. EXPORT_SYMBOL(_mmx_memcpy);
  113. EXPORT_SYMBOL(mmx_clear_page);
  114. EXPORT_SYMBOL(mmx_copy_page);
  115. #endif
  116. #ifdef CONFIG_X86_HT
  117. EXPORT_SYMBOL(smp_num_siblings);
  118. EXPORT_SYMBOL(cpu_sibling_map);
  119. #endif
  120. #ifdef CONFIG_SMP
  121. EXPORT_SYMBOL(cpu_data);
  122. EXPORT_SYMBOL(cpu_online_map);
  123. EXPORT_SYMBOL(cpu_callout_map);
  124. EXPORT_SYMBOL(__write_lock_failed);
  125. EXPORT_SYMBOL(__read_lock_failed);
  126. /* Global SMP stuff */
  127. EXPORT_SYMBOL(smp_call_function);
  128. /* TLB flushing */
  129. EXPORT_SYMBOL(flush_tlb_page);
  130. #endif
  131. #ifdef CONFIG_X86_IO_APIC
  132. EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
  133. #endif
  134. #ifdef CONFIG_MCA
  135. EXPORT_SYMBOL(machine_id);
  136. #endif
  137. #ifdef CONFIG_VT
  138. EXPORT_SYMBOL(screen_info);
  139. #endif
  140. EXPORT_SYMBOL(get_wchan);
  141. EXPORT_SYMBOL(rtc_lock);
  142. EXPORT_SYMBOL_GPL(set_nmi_callback);
  143. EXPORT_SYMBOL_GPL(unset_nmi_callback);
  144. EXPORT_SYMBOL(register_die_notifier);
  145. #ifdef CONFIG_HAVE_DEC_LOCK
  146. EXPORT_SYMBOL(_atomic_dec_and_lock);
  147. #endif
  148. EXPORT_SYMBOL(__PAGE_KERNEL);
  149. #ifdef CONFIG_HIGHMEM
  150. EXPORT_SYMBOL(kmap);
  151. EXPORT_SYMBOL(kunmap);
  152. EXPORT_SYMBOL(kmap_atomic);
  153. EXPORT_SYMBOL(kunmap_atomic);
  154. EXPORT_SYMBOL(kmap_atomic_to_page);
  155. #endif
  156. #if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
  157. EXPORT_SYMBOL(ist_info);
  158. #endif
  159. EXPORT_SYMBOL(csum_partial);