Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart
[linux-2.6] / arch / um / kernel / ksyms.c
1 /* 
2  * Copyright (C) 2001 - 2004 Jeff Dike (jdike@addtoit.com)
3  * Licensed under the GPL
4  */
5
6 #include "linux/module.h"
7 #include "linux/string.h"
8 #include "linux/smp_lock.h"
9 #include "linux/spinlock.h"
10 #include "linux/highmem.h"
11 #include "asm/current.h"
12 #include "asm/processor.h"
13 #include "asm/unistd.h"
14 #include "asm/pgalloc.h"
15 #include "asm/pgtable.h"
16 #include "asm/page.h"
17 #include "asm/tlbflush.h"
18 #include "kern_util.h"
19 #include "as-layout.h"
20 #include "mem_user.h"
21 #include "os.h"
22
23 EXPORT_SYMBOL(uml_physmem);
24 EXPORT_SYMBOL(set_signals);
25 EXPORT_SYMBOL(get_signals);
26 EXPORT_SYMBOL(kernel_thread);
27 EXPORT_SYMBOL(sys_waitpid);
28 EXPORT_SYMBOL(task_size);
29 EXPORT_SYMBOL(flush_tlb_range);
30 EXPORT_SYMBOL(host_task_size);
31 EXPORT_SYMBOL(arch_validate);
32 EXPORT_SYMBOL(get_kmem_end);
33
34 EXPORT_SYMBOL(high_physmem);
35 EXPORT_SYMBOL(empty_zero_page);
36 EXPORT_SYMBOL(um_virt_to_phys);
37 EXPORT_SYMBOL(mode_tt);
38 EXPORT_SYMBOL(handle_page_fault);
39 EXPORT_SYMBOL(find_iomem);
40
41 #ifdef CONFIG_MODE_TT
42 EXPORT_SYMBOL(stop);
43 EXPORT_SYMBOL(strncpy_from_user_tt);
44 EXPORT_SYMBOL(copy_from_user_tt);
45 EXPORT_SYMBOL(copy_to_user_tt);
46 #endif
47
48 #ifdef CONFIG_MODE_SKAS
49 EXPORT_SYMBOL(strnlen_user_skas);
50 EXPORT_SYMBOL(strncpy_from_user_skas);
51 EXPORT_SYMBOL(copy_to_user_skas);
52 EXPORT_SYMBOL(copy_from_user_skas);
53 EXPORT_SYMBOL(clear_user_skas);
54 #endif
55 EXPORT_SYMBOL(uml_strdup);
56
57 EXPORT_SYMBOL(os_stat_fd);
58 EXPORT_SYMBOL(os_stat_file);
59 EXPORT_SYMBOL(os_access);
60 EXPORT_SYMBOL(os_print_error);
61 EXPORT_SYMBOL(os_get_exec_close);
62 EXPORT_SYMBOL(os_set_exec_close);
63 EXPORT_SYMBOL(os_getpid);
64 EXPORT_SYMBOL(os_open_file);
65 EXPORT_SYMBOL(os_read_file);
66 EXPORT_SYMBOL(os_write_file);
67 EXPORT_SYMBOL(os_seek_file);
68 EXPORT_SYMBOL(os_lock_file);
69 EXPORT_SYMBOL(os_ioctl_generic);
70 EXPORT_SYMBOL(os_pipe);
71 EXPORT_SYMBOL(os_file_type);
72 EXPORT_SYMBOL(os_file_mode);
73 EXPORT_SYMBOL(os_file_size);
74 EXPORT_SYMBOL(os_flush_stdout);
75 EXPORT_SYMBOL(os_close_file);
76 EXPORT_SYMBOL(os_set_fd_async);
77 EXPORT_SYMBOL(os_set_fd_block);
78 EXPORT_SYMBOL(helper_wait);
79 EXPORT_SYMBOL(os_shutdown_socket);
80 EXPORT_SYMBOL(os_create_unix_socket);
81 EXPORT_SYMBOL(os_connect_socket);
82 EXPORT_SYMBOL(os_accept_connection);
83 EXPORT_SYMBOL(os_rcv_fd);
84 EXPORT_SYMBOL(run_helper);
85 EXPORT_SYMBOL(start_thread);
86 EXPORT_SYMBOL(dump_thread);
87
88 EXPORT_SYMBOL(do_gettimeofday);
89 EXPORT_SYMBOL(do_settimeofday);
90
91 #ifdef CONFIG_SMP
92
93 /* required for SMP */
94
95 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
96 EXPORT_SYMBOL(__write_lock_failed);
97
98 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
99 EXPORT_SYMBOL(__read_lock_failed);
100
101 #endif