File: /usr/src/linux/arch/i386/kernel/i386_ksyms.c

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     
18     #include <asm/semaphore.h>
19     #include <asm/processor.h>
20     #include <asm/i387.h>
21     #include <asm/uaccess.h>
22     #include <asm/checksum.h>
23     #include <asm/io.h>
24     #include <asm/hardirq.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/pgalloc.h>
31     
32     extern void dump_thread(struct pt_regs *, struct user *);
33     extern spinlock_t rtc_lock;
34     
35     #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)
36     extern void machine_real_restart(unsigned char *, int);
37     EXPORT_SYMBOL(machine_real_restart);
38     #endif
39     
40     #ifdef CONFIG_SMP
41     extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
42     extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
43     #endif
44     
45     #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
46     extern struct drive_info_struct drive_info;
47     EXPORT_SYMBOL(drive_info);
48     #endif
49     
50     extern unsigned long get_cmos_time(void);
51     
52     /* platform dependent support */
53     EXPORT_SYMBOL(boot_cpu_data);
54     #ifdef CONFIG_EISA
55     EXPORT_SYMBOL(EISA_bus);
56     #endif
57     EXPORT_SYMBOL(MCA_bus);
58     EXPORT_SYMBOL(__verify_write);
59     EXPORT_SYMBOL(dump_thread);
60     EXPORT_SYMBOL(dump_fpu);
61     EXPORT_SYMBOL(dump_extended_fpu);
62     EXPORT_SYMBOL(__ioremap);
63     EXPORT_SYMBOL(iounmap);
64     EXPORT_SYMBOL(enable_irq);
65     EXPORT_SYMBOL(disable_irq);
66     EXPORT_SYMBOL(disable_irq_nosync);
67     EXPORT_SYMBOL(probe_irq_mask);
68     EXPORT_SYMBOL(kernel_thread);
69     EXPORT_SYMBOL(pm_idle);
70     EXPORT_SYMBOL(pm_power_off);
71     EXPORT_SYMBOL(get_cmos_time);
72     EXPORT_SYMBOL(apm_info);
73     EXPORT_SYMBOL(gdt);
74     
75     #ifdef CONFIG_DEBUG_IOVIRT
76     EXPORT_SYMBOL(__io_virt_debug);
77     #endif
78     
79     EXPORT_SYMBOL_NOVERS(__down_failed);
80     EXPORT_SYMBOL_NOVERS(__down_failed_interruptible);
81     EXPORT_SYMBOL_NOVERS(__down_failed_trylock);
82     EXPORT_SYMBOL_NOVERS(__up_wakeup);
83     /* Networking helper routines. */
84     EXPORT_SYMBOL(csum_partial_copy_generic);
85     /* Delay loops */
86     EXPORT_SYMBOL(__udelay);
87     EXPORT_SYMBOL(__delay);
88     EXPORT_SYMBOL(__const_udelay);
89     
90     EXPORT_SYMBOL_NOVERS(__get_user_1);
91     EXPORT_SYMBOL_NOVERS(__get_user_2);
92     EXPORT_SYMBOL_NOVERS(__get_user_4);
93     
94     EXPORT_SYMBOL(strtok);
95     EXPORT_SYMBOL(strpbrk);
96     EXPORT_SYMBOL(simple_strtol);
97     EXPORT_SYMBOL(strstr);
98     
99     EXPORT_SYMBOL(strncpy_from_user);
100     EXPORT_SYMBOL(__strncpy_from_user);
101     EXPORT_SYMBOL(clear_user);
102     EXPORT_SYMBOL(__clear_user);
103     EXPORT_SYMBOL(__generic_copy_from_user);
104     EXPORT_SYMBOL(__generic_copy_to_user);
105     EXPORT_SYMBOL(strnlen_user);
106     
107     EXPORT_SYMBOL(pci_alloc_consistent);
108     EXPORT_SYMBOL(pci_free_consistent);
109     
110     #ifdef CONFIG_PCI
111     EXPORT_SYMBOL(pcibios_penalize_isa_irq);
112     EXPORT_SYMBOL(pci_mem_start);
113     #endif
114     
115     #ifdef CONFIG_X86_USE_3DNOW
116     EXPORT_SYMBOL(_mmx_memcpy);
117     EXPORT_SYMBOL(mmx_clear_page);
118     EXPORT_SYMBOL(mmx_copy_page);
119     #endif
120     
121     #ifdef CONFIG_SMP
122     EXPORT_SYMBOL(cpu_data);
123     EXPORT_SYMBOL(kernel_flag);
124     EXPORT_SYMBOL(smp_num_cpus);
125     EXPORT_SYMBOL(cpu_online_map);
126     EXPORT_SYMBOL_NOVERS(__write_lock_failed);
127     EXPORT_SYMBOL_NOVERS(__read_lock_failed);
128     
129     /* Global SMP irq stuff */
130     EXPORT_SYMBOL(synchronize_irq);
131     EXPORT_SYMBOL(global_irq_holder);
132     EXPORT_SYMBOL(__global_cli);
133     EXPORT_SYMBOL(__global_sti);
134     EXPORT_SYMBOL(__global_save_flags);
135     EXPORT_SYMBOL(__global_restore_flags);
136     EXPORT_SYMBOL(smp_call_function);
137     
138     /* TLB flushing */
139     EXPORT_SYMBOL(flush_tlb_page);
140     #endif
141     
142     #ifdef CONFIG_MCA
143     EXPORT_SYMBOL(machine_id);
144     #endif
145     
146     #ifdef CONFIG_VT
147     EXPORT_SYMBOL(screen_info);
148     #endif
149     
150     EXPORT_SYMBOL(get_wchan);
151     
152     EXPORT_SYMBOL(rtc_lock);
153     
154     #undef memcpy
155     #undef memset
156     extern void * memset(void *,int,__kernel_size_t);
157     extern void * memcpy(void *,const void *,__kernel_size_t);
158     EXPORT_SYMBOL_NOVERS(memcpy);
159     EXPORT_SYMBOL_NOVERS(memset);
160     
161     #ifdef CONFIG_X86_PAE
162     EXPORT_SYMBOL(empty_zero_page);
163     #endif
164     
165     #ifdef CONFIG_HAVE_DEC_LOCK
166     EXPORT_SYMBOL(atomic_dec_and_lock);
167     #endif
168     
169     #ifdef CONFIG_DEBUG_BUGVERBOSE
170     EXPORT_SYMBOL(do_BUG);
171     #endif
172     
173     #if defined(CONFIG_SONYPI) || defined(CONFIG_SONYPI_MODULE)
174     extern int is_sony_vaio_laptop;
175     EXPORT_SYMBOL(is_sony_vaio_laptop);
176     #endif
177     
178