xref: /linux/arch/um/kernel/ksyms.c (revision bcefe12eff5dca6fdfa94ed85e5bee66380d5cd9)
1 /*
2  * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3  * Licensed under the GPL
4  */
5 
6 #include "linux/module.h"
7 #include "linux/syscalls.h"
8 #include "asm/tlbflush.h"
9 #include "asm/uaccess.h"
10 #include "as-layout.h"
11 #include "kern_util.h"
12 #include "mem_user.h"
13 #include "os.h"
14 
15 EXPORT_SYMBOL(uml_physmem);
16 EXPORT_SYMBOL(set_signals);
17 EXPORT_SYMBOL(get_signals);
18 EXPORT_SYMBOL(kernel_thread);
19 EXPORT_SYMBOL(sys_waitpid);
20 EXPORT_SYMBOL(flush_tlb_range);
21 
22 EXPORT_SYMBOL(high_physmem);
23 EXPORT_SYMBOL(empty_zero_page);
24 EXPORT_SYMBOL(handle_page_fault);
25 EXPORT_SYMBOL(find_iomem);
26 
27 EXPORT_SYMBOL(strnlen_user);
28 EXPORT_SYMBOL(strncpy_from_user);
29 EXPORT_SYMBOL(copy_to_user);
30 EXPORT_SYMBOL(copy_from_user);
31 EXPORT_SYMBOL(clear_user);
32 EXPORT_SYMBOL(uml_strdup);
33 
34 EXPORT_SYMBOL(os_stat_fd);
35 EXPORT_SYMBOL(os_stat_file);
36 EXPORT_SYMBOL(os_access);
37 EXPORT_SYMBOL(os_set_exec_close);
38 EXPORT_SYMBOL(os_getpid);
39 EXPORT_SYMBOL(os_open_file);
40 EXPORT_SYMBOL(os_read_file);
41 EXPORT_SYMBOL(os_write_file);
42 EXPORT_SYMBOL(os_seek_file);
43 EXPORT_SYMBOL(os_lock_file);
44 EXPORT_SYMBOL(os_ioctl_generic);
45 EXPORT_SYMBOL(os_pipe);
46 EXPORT_SYMBOL(os_file_type);
47 EXPORT_SYMBOL(os_file_mode);
48 EXPORT_SYMBOL(os_file_size);
49 EXPORT_SYMBOL(os_flush_stdout);
50 EXPORT_SYMBOL(os_close_file);
51 EXPORT_SYMBOL(os_set_fd_async);
52 EXPORT_SYMBOL(os_set_fd_block);
53 EXPORT_SYMBOL(helper_wait);
54 EXPORT_SYMBOL(os_shutdown_socket);
55 EXPORT_SYMBOL(os_create_unix_socket);
56 EXPORT_SYMBOL(os_connect_socket);
57 EXPORT_SYMBOL(os_accept_connection);
58 EXPORT_SYMBOL(os_rcv_fd);
59 EXPORT_SYMBOL(run_helper);
60 EXPORT_SYMBOL(start_thread);
61 
62 EXPORT_SYMBOL(add_sigio_fd);
63 EXPORT_SYMBOL(ignore_sigio_fd);
64 EXPORT_SYMBOL(deactivate_fd);
65 EXPORT_SYMBOL(sigio_broken);
66 
67 #ifdef CONFIG_SMP
68 
69 /* required for SMP */
70 
71 extern void __write_lock_failed(rwlock_t *rw);
72 EXPORT_SYMBOL(__write_lock_failed);
73 
74 extern void __read_lock_failed(rwlock_t *rw);
75 EXPORT_SYMBOL(__read_lock_failed);
76 
77 #endif
78