x86: Fix broken LDT access in VMI
[linux-2.6] / arch / sh / kernel / sh_ksyms_64.c
1 /*
2  * arch/sh/kernel/sh_ksyms_64.c
3  *
4  * Copyright (C) 2000, 2001  Paolo Alberelli
5  *
6  * This file is subject to the terms and conditions of the GNU General Public
7  * License.  See the file "COPYING" in the main directory of this archive
8  * for more details.
9  */
10 #include <linux/rwsem.h>
11 #include <linux/module.h>
12 #include <linux/smp.h>
13 #include <linux/user.h>
14 #include <linux/elfcore.h>
15 #include <linux/sched.h>
16 #include <linux/in6.h>
17 #include <linux/interrupt.h>
18 #include <linux/screen_info.h>
19 #include <asm/cacheflush.h>
20 #include <asm/processor.h>
21 #include <asm/uaccess.h>
22 #include <asm/checksum.h>
23 #include <asm/io.h>
24 #include <asm/delay.h>
25 #include <asm/irq.h>
26
27 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
28
29 /* platform dependent support */
30 EXPORT_SYMBOL(dump_fpu);
31 EXPORT_SYMBOL(kernel_thread);
32
33 #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU)
34 EXPORT_SYMBOL(clear_user_page);
35 #endif
36
37 #ifndef CONFIG_CACHE_OFF
38 EXPORT_SYMBOL(flush_dcache_page);
39 #endif
40
41 /* Networking helper routines. */
42 EXPORT_SYMBOL(csum_partial);
43 EXPORT_SYMBOL(csum_partial_copy_nocheck);
44 #ifdef CONFIG_IPV6
45 EXPORT_SYMBOL(csum_ipv6_magic);
46 #endif
47
48 #ifdef CONFIG_VT
49 EXPORT_SYMBOL(screen_info);
50 #endif
51
52 EXPORT_SYMBOL(__put_user_asm_b);
53 EXPORT_SYMBOL(__put_user_asm_w);
54 EXPORT_SYMBOL(__put_user_asm_l);
55 EXPORT_SYMBOL(__put_user_asm_q);
56 EXPORT_SYMBOL(__get_user_asm_b);
57 EXPORT_SYMBOL(__get_user_asm_w);
58 EXPORT_SYMBOL(__get_user_asm_l);
59 EXPORT_SYMBOL(__get_user_asm_q);
60 EXPORT_SYMBOL(__strnlen_user);
61 EXPORT_SYMBOL(__strncpy_from_user);
62 EXPORT_SYMBOL(clear_page);
63 EXPORT_SYMBOL(__clear_user);
64 EXPORT_SYMBOL(copy_page);
65 EXPORT_SYMBOL(__copy_user);
66 EXPORT_SYMBOL(empty_zero_page);
67 EXPORT_SYMBOL(memcpy);
68 EXPORT_SYMBOL(__udelay);
69 EXPORT_SYMBOL(__ndelay);
70 EXPORT_SYMBOL(__const_udelay);
71
72 /* Ugh.  These come in from libgcc.a at link time. */
73 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
74
75 DECLARE_EXPORT(__sdivsi3);
76 DECLARE_EXPORT(__sdivsi3_2);
77 DECLARE_EXPORT(__muldi3);
78 DECLARE_EXPORT(__udivsi3);
79 DECLARE_EXPORT(__div_table);