ia64/linux-2.6.18-xen.hg

view net/sunrpc/sunrpc_syms.c @ 871:9cbcc9008446

xen/x86: don't initialize cpu_data[]'s apicid field on generic code

Afaict, this is not only redundant with the intialization done in
drivers/xen/core/smpboot.c, but actually results - at least for
secondary CPUs - in the Xen-specific value written to be later
overwritten with whatever the generic code determines (with no
guarantee that the two values are identical).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 14 10:09:15 2009 +0100 (2009-05-14)
parents 831230e53067
children
line source
1 /*
2 * linux/net/sunrpc/sunrpc_syms.c
3 *
4 * Symbols exported by the sunrpc module.
5 *
6 * Copyright (C) 1997 Olaf Kirch <okir@monad.swb.de>
7 */
9 #include <linux/module.h>
11 #include <linux/types.h>
12 #include <linux/sched.h>
13 #include <linux/uio.h>
14 #include <linux/unistd.h>
15 #include <linux/init.h>
17 #include <linux/sunrpc/sched.h>
18 #include <linux/sunrpc/clnt.h>
19 #include <linux/sunrpc/svc.h>
20 #include <linux/sunrpc/svcsock.h>
21 #include <linux/sunrpc/auth.h>
22 #include <linux/workqueue.h>
23 #include <linux/sunrpc/rpc_pipe_fs.h>
26 /* RPC scheduler */
27 EXPORT_SYMBOL(rpc_execute);
28 EXPORT_SYMBOL(rpc_init_task);
29 EXPORT_SYMBOL(rpc_sleep_on);
30 EXPORT_SYMBOL(rpc_wake_up_next);
31 EXPORT_SYMBOL(rpc_wake_up_task);
32 EXPORT_SYMBOL(rpciod_down);
33 EXPORT_SYMBOL(rpciod_up);
34 EXPORT_SYMBOL(rpc_new_task);
35 EXPORT_SYMBOL(rpc_wake_up_status);
36 EXPORT_SYMBOL(rpc_release_task);
38 /* RPC client functions */
39 EXPORT_SYMBOL(rpc_create_client);
40 EXPORT_SYMBOL(rpc_new_client);
41 EXPORT_SYMBOL(rpc_clone_client);
42 EXPORT_SYMBOL(rpc_bind_new_program);
43 EXPORT_SYMBOL(rpc_destroy_client);
44 EXPORT_SYMBOL(rpc_shutdown_client);
45 EXPORT_SYMBOL(rpc_killall_tasks);
46 EXPORT_SYMBOL(rpc_call_sync);
47 EXPORT_SYMBOL(rpc_call_async);
48 EXPORT_SYMBOL(rpc_call_setup);
49 EXPORT_SYMBOL(rpc_clnt_sigmask);
50 EXPORT_SYMBOL(rpc_clnt_sigunmask);
51 EXPORT_SYMBOL(rpc_delay);
52 EXPORT_SYMBOL(rpc_restart_call);
53 EXPORT_SYMBOL(rpc_setbufsize);
54 EXPORT_SYMBOL(rpc_unlink);
55 EXPORT_SYMBOL(rpc_wake_up);
56 EXPORT_SYMBOL(rpc_queue_upcall);
57 EXPORT_SYMBOL(rpc_mkpipe);
59 /* Client transport */
60 EXPORT_SYMBOL(xprt_create_proto);
61 EXPORT_SYMBOL(xprt_set_timeout);
63 /* Client credential cache */
64 EXPORT_SYMBOL(rpcauth_register);
65 EXPORT_SYMBOL(rpcauth_unregister);
66 EXPORT_SYMBOL(rpcauth_create);
67 EXPORT_SYMBOL(rpcauth_lookupcred);
68 EXPORT_SYMBOL(rpcauth_lookup_credcache);
69 EXPORT_SYMBOL(rpcauth_free_credcache);
70 EXPORT_SYMBOL(rpcauth_init_credcache);
71 EXPORT_SYMBOL(put_rpccred);
73 /* RPC server stuff */
74 EXPORT_SYMBOL(svc_create);
75 EXPORT_SYMBOL(svc_create_thread);
76 EXPORT_SYMBOL(svc_exit_thread);
77 EXPORT_SYMBOL(svc_destroy);
78 EXPORT_SYMBOL(svc_drop);
79 EXPORT_SYMBOL(svc_process);
80 EXPORT_SYMBOL(svc_recv);
81 EXPORT_SYMBOL(svc_wake_up);
82 EXPORT_SYMBOL(svc_makesock);
83 EXPORT_SYMBOL(svc_reserve);
84 EXPORT_SYMBOL(svc_auth_register);
85 EXPORT_SYMBOL(auth_domain_lookup);
86 EXPORT_SYMBOL(svc_authenticate);
87 EXPORT_SYMBOL(svc_set_client);
89 /* RPC statistics */
90 #ifdef CONFIG_PROC_FS
91 EXPORT_SYMBOL(rpc_proc_register);
92 EXPORT_SYMBOL(rpc_proc_unregister);
93 EXPORT_SYMBOL(svc_proc_register);
94 EXPORT_SYMBOL(svc_proc_unregister);
95 EXPORT_SYMBOL(svc_seq_show);
96 #endif
98 /* caching... */
99 EXPORT_SYMBOL(auth_domain_find);
100 EXPORT_SYMBOL(auth_domain_put);
101 EXPORT_SYMBOL(auth_unix_add_addr);
102 EXPORT_SYMBOL(auth_unix_forget_old);
103 EXPORT_SYMBOL(auth_unix_lookup);
104 EXPORT_SYMBOL(cache_check);
105 EXPORT_SYMBOL(cache_flush);
106 EXPORT_SYMBOL(cache_purge);
107 EXPORT_SYMBOL(cache_register);
108 EXPORT_SYMBOL(cache_unregister);
109 EXPORT_SYMBOL(qword_add);
110 EXPORT_SYMBOL(qword_addhex);
111 EXPORT_SYMBOL(qword_get);
112 EXPORT_SYMBOL(svcauth_unix_purge);
113 EXPORT_SYMBOL(unix_domain_find);
115 /* Generic XDR */
116 EXPORT_SYMBOL(xdr_encode_string);
117 EXPORT_SYMBOL(xdr_decode_string_inplace);
118 EXPORT_SYMBOL(xdr_decode_netobj);
119 EXPORT_SYMBOL(xdr_encode_netobj);
120 EXPORT_SYMBOL(xdr_encode_pages);
121 EXPORT_SYMBOL(xdr_inline_pages);
122 EXPORT_SYMBOL(xdr_shift_buf);
123 EXPORT_SYMBOL(xdr_encode_word);
124 EXPORT_SYMBOL(xdr_decode_word);
125 EXPORT_SYMBOL(xdr_encode_array2);
126 EXPORT_SYMBOL(xdr_decode_array2);
127 EXPORT_SYMBOL(xdr_buf_from_iov);
128 EXPORT_SYMBOL(xdr_buf_subsegment);
129 EXPORT_SYMBOL(xdr_buf_read_netobj);
130 EXPORT_SYMBOL(read_bytes_from_xdr_buf);
132 /* Debugging symbols */
133 #ifdef RPC_DEBUG
134 EXPORT_SYMBOL(rpc_debug);
135 EXPORT_SYMBOL(nfs_debug);
136 EXPORT_SYMBOL(nfsd_debug);
137 EXPORT_SYMBOL(nlm_debug);
138 #endif
140 extern int register_rpc_pipefs(void);
141 extern void unregister_rpc_pipefs(void);
142 extern struct cache_detail ip_map_cache;
144 static int __init
145 init_sunrpc(void)
146 {
147 int err = register_rpc_pipefs();
148 if (err)
149 goto out;
150 err = rpc_init_mempool() != 0;
151 if (err)
152 goto out;
153 #ifdef RPC_DEBUG
154 rpc_register_sysctl();
155 #endif
156 #ifdef CONFIG_PROC_FS
157 rpc_proc_init();
158 #endif
159 cache_register(&ip_map_cache);
160 out:
161 return err;
162 }
164 static void __exit
165 cleanup_sunrpc(void)
166 {
167 unregister_rpc_pipefs();
168 rpc_destroy_mempool();
169 if (cache_unregister(&ip_map_cache))
170 printk(KERN_ERR "sunrpc: failed to unregister ip_map cache\n");
171 #ifdef RPC_DEBUG
172 rpc_unregister_sysctl();
173 #endif
174 #ifdef CONFIG_PROC_FS
175 rpc_proc_exit();
176 #endif
177 }
178 MODULE_LICENSE("GPL");
179 module_init(init_sunrpc);
180 module_exit(cleanup_sunrpc);