ia64/xen-unstable

view linux-2.6-xen-sparse/arch/x86_64/kernel/x8664_ksyms-xen.c @ 9107:8f1f6c70e4f5

linux-x86-64: eliminate duplicate exports
Symbols are exported from files shared with i386.

From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Mar 02 15:41:45 2006 +0000 (2006-03-02)
parents 1ca3d63e7008
children 4fad820a2233
line source
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/smp.h>
4 #include <linux/user.h>
5 #include <linux/sched.h>
6 #include <linux/in6.h>
7 #include <linux/interrupt.h>
8 #include <linux/smp_lock.h>
9 #include <linux/pm.h>
10 #include <linux/pci.h>
11 #include <linux/apm_bios.h>
12 #include <linux/kernel.h>
13 #include <linux/string.h>
14 #include <linux/syscalls.h>
15 #include <linux/tty.h>
17 #include <asm/semaphore.h>
18 #include <asm/processor.h>
19 #include <asm/i387.h>
20 #include <asm/uaccess.h>
21 #include <asm/checksum.h>
22 #include <asm/io.h>
23 #include <asm/delay.h>
24 #include <asm/irq.h>
25 #include <asm/mmx.h>
26 #include <asm/desc.h>
27 #include <asm/pgtable.h>
28 #include <asm/pgalloc.h>
29 #include <asm/nmi.h>
30 #include <asm/kdebug.h>
31 #include <asm/unistd.h>
32 #include <asm/tlbflush.h>
33 #include <asm/kdebug.h>
35 #ifdef CONFIG_SMP
36 extern void __write_lock_failed(rwlock_t *rw);
37 extern void __read_lock_failed(rwlock_t *rw);
38 #endif
40 /* platform dependent support */
41 EXPORT_SYMBOL(boot_cpu_data);
42 //EXPORT_SYMBOL(dump_fpu);
43 EXPORT_SYMBOL(kernel_thread);
44 EXPORT_SYMBOL(pm_idle);
45 EXPORT_SYMBOL(pm_power_off);
47 EXPORT_SYMBOL(__down_failed);
48 EXPORT_SYMBOL(__down_failed_interruptible);
49 EXPORT_SYMBOL(__down_failed_trylock);
50 EXPORT_SYMBOL(__up_wakeup);
51 /* Networking helper routines. */
52 EXPORT_SYMBOL(csum_partial_copy_nocheck);
53 EXPORT_SYMBOL(ip_compute_csum);
54 /* Delay loops */
55 EXPORT_SYMBOL(__udelay);
56 EXPORT_SYMBOL(__ndelay);
57 EXPORT_SYMBOL(__delay);
58 EXPORT_SYMBOL(__const_udelay);
60 EXPORT_SYMBOL(__get_user_1);
61 EXPORT_SYMBOL(__get_user_2);
62 EXPORT_SYMBOL(__get_user_4);
63 EXPORT_SYMBOL(__get_user_8);
64 EXPORT_SYMBOL(__put_user_1);
65 EXPORT_SYMBOL(__put_user_2);
66 EXPORT_SYMBOL(__put_user_4);
67 EXPORT_SYMBOL(__put_user_8);
69 EXPORT_SYMBOL(strncpy_from_user);
70 EXPORT_SYMBOL(__strncpy_from_user);
71 EXPORT_SYMBOL(clear_user);
72 EXPORT_SYMBOL(__clear_user);
73 EXPORT_SYMBOL(copy_user_generic);
74 EXPORT_SYMBOL(copy_from_user);
75 EXPORT_SYMBOL(copy_to_user);
76 EXPORT_SYMBOL(copy_in_user);
77 EXPORT_SYMBOL(strnlen_user);
79 #ifdef CONFIG_PCI
80 EXPORT_SYMBOL(pci_mem_start);
81 #endif
83 EXPORT_SYMBOL(copy_page);
84 EXPORT_SYMBOL(clear_page);
86 EXPORT_SYMBOL(_cpu_pda);
87 #ifdef CONFIG_SMP
88 EXPORT_SYMBOL(__write_lock_failed);
89 EXPORT_SYMBOL(__read_lock_failed);
91 EXPORT_SYMBOL(smp_call_function);
92 #endif
94 #ifdef CONFIG_VT
95 EXPORT_SYMBOL(screen_info);
96 #endif
98 EXPORT_SYMBOL(get_wchan);
100 #ifdef CONFIG_X86_LOCAL_APIC
101 EXPORT_SYMBOL_GPL(set_nmi_callback);
102 EXPORT_SYMBOL_GPL(unset_nmi_callback);
103 #endif
105 /* Export string functions. We normally rely on gcc builtin for most of these,
106 but gcc sometimes decides not to inline them. */
107 #undef memcpy
108 #undef memset
109 #undef memmove
110 #undef strlen
112 extern void * memset(void *,int,__kernel_size_t);
113 extern size_t strlen(const char *);
114 extern void * memmove(void * dest,const void *src,size_t count);
115 extern void * memcpy(void *,const void *,__kernel_size_t);
116 extern void * __memcpy(void *,const void *,__kernel_size_t);
118 EXPORT_SYMBOL(memset);
119 EXPORT_SYMBOL(strlen);
120 EXPORT_SYMBOL(memmove);
121 EXPORT_SYMBOL(memcpy);
122 EXPORT_SYMBOL(__memcpy);
124 #ifdef CONFIG_RWSEM_XCHGADD_ALGORITHM
125 /* prototypes are wrong, these are assembly with custom calling functions */
126 extern void rwsem_down_read_failed_thunk(void);
127 extern void rwsem_wake_thunk(void);
128 extern void rwsem_downgrade_thunk(void);
129 extern void rwsem_down_write_failed_thunk(void);
130 EXPORT_SYMBOL(rwsem_down_read_failed_thunk);
131 EXPORT_SYMBOL(rwsem_wake_thunk);
132 EXPORT_SYMBOL(rwsem_downgrade_thunk);
133 EXPORT_SYMBOL(rwsem_down_write_failed_thunk);
134 #endif
136 EXPORT_SYMBOL(empty_zero_page);
138 EXPORT_SYMBOL(die_chain);
139 EXPORT_SYMBOL(register_die_notifier);
141 #ifdef CONFIG_SMP
142 EXPORT_SYMBOL(cpu_sibling_map);
143 EXPORT_SYMBOL(smp_num_siblings);
144 #endif
146 extern void do_softirq_thunk(void);
147 EXPORT_SYMBOL(do_softirq_thunk);
149 #ifdef CONFIG_BUG
150 EXPORT_SYMBOL(out_of_line_bug);
151 #endif
153 EXPORT_SYMBOL(init_level4_pgt);
155 extern unsigned long __supported_pte_mask;
156 EXPORT_SYMBOL(__supported_pte_mask);
158 #ifdef CONFIG_SMP
159 EXPORT_SYMBOL(flush_tlb_page);
160 #endif
162 EXPORT_SYMBOL(load_gs_index);