Automerge
[opensuse:kernel.git] / kernel / ksyms.c
1 /*
2  * Herein lies all the functions/variables that are "exported" for linkage
3  * with dynamically loaded kernel modules.
4  *                      Jon.
5  *
6  * - Stacked module support and unified symbol table added (June 1994)
7  * - External symbol table support added (December 1994)
8  * - Versions on symbols added (December 1994)
9  *   by Bjorn Ekwall <bj0rn@blox.se>
10  */
11
12 #include <linux/config.h>
13 #include <linux/slab.h>
14 #include <linux/module.h>
15 #include <linux/blkdev.h>
16 #include <linux/cdrom.h>
17 #include <linux/kernel_stat.h>
18 #include <linux/vmalloc.h>
19 #include <linux/sys.h>
20 #include <linux/utsname.h>
21 #include <linux/interrupt.h>
22 #include <linux/ioport.h>
23 #include <linux/serial.h>
24 #include <linux/locks.h>
25 #include <linux/delay.h>
26 #include <linux/random.h>
27 #include <linux/reboot.h>
28 #include <linux/pagemap.h>
29 #include <linux/sysctl.h>
30 #include <linux/hdreg.h>
31 #include <linux/skbuff.h>
32 #include <linux/genhd.h>
33 #include <linux/blkpg.h>
34 #include <linux/swap.h>
35 #include <linux/ctype.h>
36 #include <linux/file.h>
37 #include <linux/iobuf.h>
38 #include <linux/console.h>
39 #include <linux/poll.h>
40 #include <linux/mmzone.h>
41 #include <linux/mm.h>
42 #include <linux/capability.h>
43 #include <linux/highuid.h>
44 #include <linux/brlock.h>
45 #include <linux/fs.h>
46 #include <linux/tty.h>
47 #include <linux/in6.h>
48 #include <linux/completion.h>
49 #include <linux/seq_file.h>
50 #include <linux/binfmts.h>
51 #include <asm/checksum.h>
52
53 #if defined(CONFIG_PROC_FS)
54 #include <linux/proc_fs.h>
55 #endif
56 #ifdef CONFIG_KMOD
57 #include <linux/kmod.h>
58 #endif
59
60 extern void set_device_ro(kdev_t dev,int flag);
61
62 extern void *sys_call_table;
63
64 extern struct timezone sys_tz;
65 extern int request_dma(unsigned int dmanr, const char * deviceID);
66 extern void free_dma(unsigned int dmanr);
67 extern spinlock_t dma_spin_lock;
68
69 #ifdef CONFIG_MODVERSIONS
70 const struct module_symbol __export_Using_Versions
71 __attribute__((section("__ksymtab"))) = {
72         1 /* Version version */, "Using_Versions"
73 };
74 #endif
75
76
77 EXPORT_SYMBOL(inter_module_register);
78 EXPORT_SYMBOL(inter_module_unregister);
79 EXPORT_SYMBOL(inter_module_get);
80 EXPORT_SYMBOL(inter_module_get_request);
81 EXPORT_SYMBOL(inter_module_put);
82 EXPORT_SYMBOL(try_inc_mod_count);
83
84 /* process memory management */
85 EXPORT_SYMBOL(do_mmap_pgoff);
86 EXPORT_SYMBOL(do_munmap);
87 EXPORT_SYMBOL(do_brk);
88 EXPORT_SYMBOL(exit_mm);
89
90 /* internal kernel memory management */
91 EXPORT_SYMBOL(_alloc_pages);
92 EXPORT_SYMBOL(__alloc_pages);
93 EXPORT_SYMBOL(alloc_pages_node);
94 EXPORT_SYMBOL(__get_free_pages);
95 EXPORT_SYMBOL(get_zeroed_page);
96 EXPORT_SYMBOL(page_cache_release);
97 EXPORT_SYMBOL(__free_pages);
98 EXPORT_SYMBOL(free_pages);
99 EXPORT_SYMBOL(num_physpages);
100 EXPORT_SYMBOL(kmem_find_general_cachep);
101 EXPORT_SYMBOL(kmem_cache_create);
102 EXPORT_SYMBOL(kmem_cache_destroy);
103 EXPORT_SYMBOL(kmem_cache_shrink);
104 EXPORT_SYMBOL(kmem_cache_alloc);
105 EXPORT_SYMBOL(kmem_cache_free);
106 EXPORT_SYMBOL(kmalloc);
107 EXPORT_SYMBOL(kfree);
108 EXPORT_SYMBOL(vfree);
109 EXPORT_SYMBOL(__vmalloc);
110 EXPORT_SYMBOL(vmalloc_to_page);
111 EXPORT_SYMBOL(mem_map);
112 EXPORT_SYMBOL(remap_page_range);
113 EXPORT_SYMBOL(max_mapnr);
114 EXPORT_SYMBOL(high_memory);
115 EXPORT_SYMBOL(vmtruncate);
116 EXPORT_SYMBOL(find_vma);
117 EXPORT_SYMBOL(get_unmapped_area);
118 EXPORT_SYMBOL(init_mm);
119 EXPORT_SYMBOL(create_bounce);
120 #ifdef CONFIG_HIGHMEM
121 EXPORT_SYMBOL(kmap_high);
122 EXPORT_SYMBOL(kunmap_high);
123 EXPORT_SYMBOL(highmem_start_page);
124 EXPORT_SYMBOL(kmap_prot);
125 EXPORT_SYMBOL(kmap_pte);
126 #endif
127
128 /* filesystem internal functions */
129 EXPORT_SYMBOL(def_blk_fops);
130 EXPORT_SYMBOL(update_atime);
131 EXPORT_SYMBOL(get_fs_type);
132 EXPORT_SYMBOL(get_super);
133 EXPORT_SYMBOL(drop_super);
134 EXPORT_SYMBOL(getname);
135 EXPORT_SYMBOL(names_cachep);
136 EXPORT_SYMBOL(fput);
137 EXPORT_SYMBOL(fget);
138 EXPORT_SYMBOL(igrab);
139 EXPORT_SYMBOL(iunique);
140 EXPORT_SYMBOL(iget4);
141 EXPORT_SYMBOL(iput);
142 EXPORT_SYMBOL(inode_init_once);
143 EXPORT_SYMBOL(force_delete);
144 EXPORT_SYMBOL(follow_up);
145 EXPORT_SYMBOL(follow_down);
146 EXPORT_SYMBOL(lookup_mnt);
147 EXPORT_SYMBOL(path_init);
148 EXPORT_SYMBOL(path_walk);
149 EXPORT_SYMBOL(path_release);
150 EXPORT_SYMBOL(__user_walk);
151 EXPORT_SYMBOL(lookup_one_len);
152 EXPORT_SYMBOL(lookup_hash);
153 EXPORT_SYMBOL(sys_close);
154 EXPORT_SYMBOL(dcache_lock);
155 EXPORT_SYMBOL(dparent_lock);
156 EXPORT_SYMBOL(d_alloc_root);
157 EXPORT_SYMBOL(d_delete);
158 EXPORT_SYMBOL(dget_locked);
159 EXPORT_SYMBOL(d_validate);
160 EXPORT_SYMBOL(d_rehash);
161 EXPORT_SYMBOL(d_invalidate);    /* May be it will be better in dcache.h? */
162 EXPORT_SYMBOL(d_move);
163 EXPORT_SYMBOL(d_instantiate);
164 EXPORT_SYMBOL(d_alloc);
165 EXPORT_SYMBOL(d_alloc_anon);
166 EXPORT_SYMBOL(d_splice_alias);
167 EXPORT_SYMBOL(d_lookup);
168 EXPORT_SYMBOL(__d_path);
169 EXPORT_SYMBOL(mark_buffer_dirty);
170 EXPORT_SYMBOL(set_buffer_async_io); /* for reiserfs_writepage */
171 EXPORT_SYMBOL(__mark_buffer_dirty);
172 EXPORT_SYMBOL(__mark_inode_dirty);
173 EXPORT_SYMBOL(get_empty_filp);
174 EXPORT_SYMBOL(init_private_file);
175 EXPORT_SYMBOL(filp_open);
176 EXPORT_SYMBOL(filp_close);
177 EXPORT_SYMBOL(put_filp);
178 EXPORT_SYMBOL(files_lock);
179 EXPORT_SYMBOL(check_disk_change);
180 EXPORT_SYMBOL(__invalidate_buffers);
181 EXPORT_SYMBOL(invalidate_bdev);
182 EXPORT_SYMBOL(invalidate_inodes);
183 EXPORT_SYMBOL(invalidate_device);
184 EXPORT_SYMBOL(invalidate_inode_pages);
185 EXPORT_SYMBOL(truncate_inode_pages);
186 EXPORT_SYMBOL(fsync_dev);
187 EXPORT_SYMBOL(fsync_bdev);
188 EXPORT_SYMBOL(fsync_no_super);
189 EXPORT_SYMBOL(permission);
190 EXPORT_SYMBOL(vfs_permission);
191 EXPORT_SYMBOL(inode_setattr);
192 EXPORT_SYMBOL(inode_change_ok);
193 EXPORT_SYMBOL(write_inode_now);
194 EXPORT_SYMBOL(notify_change);
195 EXPORT_SYMBOL(set_blocksize);
196 EXPORT_SYMBOL(sb_set_blocksize);
197 EXPORT_SYMBOL(sb_min_blocksize);
198 EXPORT_SYMBOL(__getblk);
199 EXPORT_SYMBOL(cdget);
200 EXPORT_SYMBOL(cdput);
201 EXPORT_SYMBOL(bdget);
202 EXPORT_SYMBOL(bdput);
203 EXPORT_SYMBOL(bd_claim);
204 EXPORT_SYMBOL(bd_release);
205 EXPORT_SYMBOL(__bread);
206 EXPORT_SYMBOL(__brelse);
207 EXPORT_SYMBOL(__bforget);
208 EXPORT_SYMBOL(ll_rw_block);
209 EXPORT_SYMBOL(submit_bh);
210 EXPORT_SYMBOL(unlock_buffer);
211 EXPORT_SYMBOL(__wait_on_buffer);
212 EXPORT_SYMBOL(___wait_on_page);
213 EXPORT_SYMBOL(generic_direct_IO);
214 EXPORT_SYMBOL(discard_bh_page);
215 EXPORT_SYMBOL(block_write_full_page);
216 EXPORT_SYMBOL(block_read_full_page);
217 EXPORT_SYMBOL(block_prepare_write);
218 EXPORT_SYMBOL(block_sync_page);
219 EXPORT_SYMBOL(generic_cont_expand);
220 EXPORT_SYMBOL(cont_prepare_write);
221 EXPORT_SYMBOL(generic_commit_write);
222 EXPORT_SYMBOL(block_truncate_page);
223 EXPORT_SYMBOL(generic_block_bmap);
224 EXPORT_SYMBOL(generic_file_read);
225 EXPORT_SYMBOL(do_generic_file_read);
226 EXPORT_SYMBOL(generic_file_write);
227 EXPORT_SYMBOL(generic_file_mmap);
228 EXPORT_SYMBOL(generic_ro_fops);
229 EXPORT_SYMBOL(generic_buffer_fdatasync);
230 EXPORT_SYMBOL(file_lock_list);
231 EXPORT_SYMBOL(locks_init_lock);
232 EXPORT_SYMBOL(locks_copy_lock);
233 EXPORT_SYMBOL(posix_lock_file);
234 EXPORT_SYMBOL(posix_test_lock);
235 EXPORT_SYMBOL(posix_block_lock);
236 EXPORT_SYMBOL(posix_unblock_lock);
237 EXPORT_SYMBOL(posix_locks_deadlock);
238 EXPORT_SYMBOL(locks_mandatory_area);
239 EXPORT_SYMBOL(dput);
240 EXPORT_SYMBOL(have_submounts);
241 EXPORT_SYMBOL(d_find_alias);
242 EXPORT_SYMBOL(d_prune_aliases);
243 EXPORT_SYMBOL(prune_dcache);
244 EXPORT_SYMBOL(shrink_dcache_sb);
245 EXPORT_SYMBOL(shrink_dcache_parent);
246 EXPORT_SYMBOL(shrink_dcache_anon);
247 EXPORT_SYMBOL(find_inode_number);
248 EXPORT_SYMBOL(is_subdir);
249 EXPORT_SYMBOL(get_unused_fd);
250 EXPORT_SYMBOL(vfs_create);
251 EXPORT_SYMBOL(vfs_mkdir);
252 EXPORT_SYMBOL(vfs_mknod);
253 EXPORT_SYMBOL(vfs_symlink);
254 EXPORT_SYMBOL(vfs_link);
255 EXPORT_SYMBOL(vfs_rmdir);
256 EXPORT_SYMBOL(vfs_unlink);
257 EXPORT_SYMBOL(vfs_rename);
258 EXPORT_SYMBOL(vfs_statfs);
259 EXPORT_SYMBOL(vfs_fstat);
260 EXPORT_SYMBOL(vfs_stat);
261 EXPORT_SYMBOL(vfs_lstat);
262 EXPORT_SYMBOL(lock_rename);
263 EXPORT_SYMBOL(unlock_rename);
264 EXPORT_SYMBOL(generic_read_dir);
265 EXPORT_SYMBOL(generic_file_llseek);
266 EXPORT_SYMBOL(remote_llseek);
267 EXPORT_SYMBOL(no_llseek);
268 EXPORT_SYMBOL(__pollwait);
269 EXPORT_SYMBOL(poll_freewait);
270 EXPORT_SYMBOL(ROOT_DEV);
271 EXPORT_SYMBOL(find_get_page);
272 EXPORT_SYMBOL(find_lock_page);
273 EXPORT_SYMBOL(grab_cache_page);
274 EXPORT_SYMBOL(grab_cache_page_nowait);
275 EXPORT_SYMBOL(read_cache_page);
276 EXPORT_SYMBOL(vfs_readlink);
277 EXPORT_SYMBOL(vfs_follow_link);
278 EXPORT_SYMBOL(page_readlink);
279 EXPORT_SYMBOL(page_follow_link);
280 EXPORT_SYMBOL(page_symlink_inode_operations);
281 EXPORT_SYMBOL(block_symlink);
282 EXPORT_SYMBOL(vfs_readdir);
283 EXPORT_SYMBOL(__get_lease);
284 EXPORT_SYMBOL(lease_get_mtime);
285 EXPORT_SYMBOL(lock_may_read);
286 EXPORT_SYMBOL(lock_may_write);
287 EXPORT_SYMBOL(dcache_readdir);
288 EXPORT_SYMBOL(simple_statfs);
289 EXPORT_SYMBOL(simple_lookup);
290 EXPORT_SYMBOL(simple_dir_operations);
291 EXPORT_SYMBOL(simple_dir_inode_operations);
292 EXPORT_SYMBOL(fd_install);
293 EXPORT_SYMBOL(put_unused_fd);
294 EXPORT_SYMBOL(get_sb_bdev);
295 EXPORT_SYMBOL(kill_block_super);
296 EXPORT_SYMBOL(get_sb_nodev);
297 EXPORT_SYMBOL(get_sb_single);
298 EXPORT_SYMBOL(kill_anon_super);
299 EXPORT_SYMBOL(kill_litter_super);
300 EXPORT_SYMBOL(generic_shutdown_super);
301 EXPORT_SYMBOL(deactivate_super);
302 EXPORT_SYMBOL(sget);
303 EXPORT_SYMBOL(set_anon_super);
304
305 /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
306 EXPORT_SYMBOL(default_llseek);
307 EXPORT_SYMBOL(dentry_open);
308 EXPORT_SYMBOL(filemap_nopage);
309 EXPORT_SYMBOL(filemap_sync);
310 EXPORT_SYMBOL(filemap_fdatasync);
311 EXPORT_SYMBOL(filemap_fdatawait);
312 EXPORT_SYMBOL(lock_page);
313 EXPORT_SYMBOL(unlock_page);
314
315 /* device registration */
316 EXPORT_SYMBOL(register_chrdev);
317 EXPORT_SYMBOL(unregister_chrdev);
318 EXPORT_SYMBOL(register_blkdev);
319 EXPORT_SYMBOL(unregister_blkdev);
320 EXPORT_SYMBOL(tty_register_driver);
321 EXPORT_SYMBOL(tty_unregister_driver);
322 EXPORT_SYMBOL(tty_std_termios);
323
324 /* block device driver support */
325 EXPORT_SYMBOL(blksize_size);
326 EXPORT_SYMBOL(blk_size);
327 EXPORT_SYMBOL(blk_dev);
328 EXPORT_SYMBOL(is_read_only);
329 EXPORT_SYMBOL(set_device_ro);
330 EXPORT_SYMBOL(bmap);
331 EXPORT_SYMBOL(devfs_register_partitions);
332 EXPORT_SYMBOL(blkdev_open);
333 EXPORT_SYMBOL(blkdev_get);
334 EXPORT_SYMBOL(blkdev_put);
335 EXPORT_SYMBOL(ioctl_by_bdev);
336 EXPORT_SYMBOL(grok_partitions);
337 EXPORT_SYMBOL(register_disk);
338 EXPORT_SYMBOL(read_dev_sector);
339 EXPORT_SYMBOL(tq_disk);
340 EXPORT_SYMBOL(init_buffer);
341 EXPORT_SYMBOL(refile_buffer);
342 EXPORT_SYMBOL(wipe_partitions);
343
344 /* tty routines */
345 EXPORT_SYMBOL(tty_hangup);
346 EXPORT_SYMBOL(tty_wait_until_sent);
347 EXPORT_SYMBOL(tty_check_change);
348 EXPORT_SYMBOL(tty_hung_up_p);
349 EXPORT_SYMBOL(tty_flip_buffer_push);
350 EXPORT_SYMBOL(tty_get_baud_rate);
351 EXPORT_SYMBOL(do_SAK);
352
353 /* filesystem registration */
354 EXPORT_SYMBOL(register_filesystem);
355 EXPORT_SYMBOL(unregister_filesystem);
356 EXPORT_SYMBOL(kern_mount);
357 EXPORT_SYMBOL(__mntput);
358 EXPORT_SYMBOL(may_umount);
359
360 /* executable format registration */
361 EXPORT_SYMBOL(register_binfmt);
362 EXPORT_SYMBOL(unregister_binfmt);
363 EXPORT_SYMBOL(search_binary_handler);
364 EXPORT_SYMBOL(prepare_binprm);
365 EXPORT_SYMBOL(compute_creds);
366 EXPORT_SYMBOL(remove_arg_zero);
367 EXPORT_SYMBOL(set_binfmt);
368
369 /* sysctl table registration */
370 EXPORT_SYMBOL(register_sysctl_table);
371 EXPORT_SYMBOL(unregister_sysctl_table);
372 EXPORT_SYMBOL(sysctl_string);
373 EXPORT_SYMBOL(sysctl_intvec);
374 EXPORT_SYMBOL(sysctl_jiffies);
375 EXPORT_SYMBOL(proc_dostring);
376 EXPORT_SYMBOL(proc_dointvec);
377 EXPORT_SYMBOL(proc_dointvec_jiffies);
378 EXPORT_SYMBOL(proc_dointvec_minmax);
379 EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax);
380 EXPORT_SYMBOL(proc_doulongvec_minmax);
381
382 /* interrupt handling */
383 EXPORT_SYMBOL(add_timer);
384 EXPORT_SYMBOL(del_timer);
385 EXPORT_SYMBOL(request_irq);
386 EXPORT_SYMBOL(free_irq);
387 #if !defined(CONFIG_ARCH_S390)
388 EXPORT_SYMBOL(irq_stat);        /* No separate irq_stat for s390, it is part of PSA */
389 #endif
390
391 /* waitqueue handling */
392 EXPORT_SYMBOL(add_wait_queue);
393 EXPORT_SYMBOL(add_wait_queue_exclusive);
394 EXPORT_SYMBOL(remove_wait_queue);
395
396 /* completion handling */
397 EXPORT_SYMBOL(wait_for_completion);
398 EXPORT_SYMBOL(complete);
399
400 /* The notion of irq probe/assignment is foreign to S/390 */
401
402 #if !defined(CONFIG_ARCH_S390)
403 EXPORT_SYMBOL(probe_irq_on);
404 EXPORT_SYMBOL(probe_irq_off);
405 #endif
406
407 #ifdef CONFIG_SMP
408 EXPORT_SYMBOL(del_timer_sync);
409 #endif
410 EXPORT_SYMBOL(mod_timer);
411 EXPORT_SYMBOL(tq_timer);
412 EXPORT_SYMBOL(tq_immediate);
413
414 #ifdef CONFIG_SMP
415 /* Various random spinlocks we want to export */
416 EXPORT_SYMBOL(tqueue_lock);
417
418 /* Big-Reader lock implementation */
419 EXPORT_SYMBOL(__brlock_array);
420 #ifndef __BRLOCK_USE_ATOMICS
421 EXPORT_SYMBOL(__br_write_locks);
422 #endif
423 EXPORT_SYMBOL(__br_write_lock);
424 EXPORT_SYMBOL(__br_write_unlock);
425 #endif
426
427 /* Kiobufs */
428 EXPORT_SYMBOL(alloc_kiovec);
429 EXPORT_SYMBOL(free_kiovec);
430 EXPORT_SYMBOL(expand_kiobuf);
431
432 EXPORT_SYMBOL(map_user_kiobuf);
433 EXPORT_SYMBOL(unmap_kiobuf);
434 EXPORT_SYMBOL(lock_kiovec);
435 EXPORT_SYMBOL(unlock_kiovec);
436 EXPORT_SYMBOL(brw_kiovec);
437 EXPORT_SYMBOL(kiobuf_wait_for_io);
438
439 /* dma handling */
440 EXPORT_SYMBOL(request_dma);
441 EXPORT_SYMBOL(free_dma);
442 EXPORT_SYMBOL(dma_spin_lock);
443 #ifdef HAVE_DISABLE_HLT
444 EXPORT_SYMBOL(disable_hlt);
445 EXPORT_SYMBOL(enable_hlt);
446 #endif
447
448 /* resource handling */
449 EXPORT_SYMBOL(request_resource);
450 EXPORT_SYMBOL(release_resource);
451 EXPORT_SYMBOL(allocate_resource);
452 EXPORT_SYMBOL(check_resource);
453 EXPORT_SYMBOL(__request_region);
454 EXPORT_SYMBOL(__check_region);
455 EXPORT_SYMBOL(__release_region);
456 EXPORT_SYMBOL(ioport_resource);
457 EXPORT_SYMBOL(iomem_resource);
458
459 /* process management */
460 EXPORT_SYMBOL(complete_and_exit);
461 EXPORT_SYMBOL(__wake_up);
462 EXPORT_SYMBOL(wake_up_process);
463 EXPORT_SYMBOL(sleep_on);
464 EXPORT_SYMBOL(sleep_on_timeout);
465 EXPORT_SYMBOL(interruptible_sleep_on);
466 EXPORT_SYMBOL(interruptible_sleep_on_timeout);
467 EXPORT_SYMBOL(schedule);
468 #ifdef CONFIG_PREEMPT
469 EXPORT_SYMBOL(preempt_schedule);
470 #endif
471 EXPORT_SYMBOL(schedule_timeout);
472 EXPORT_SYMBOL(sys_sched_yield);
473 EXPORT_SYMBOL(set_user_nice);
474 EXPORT_SYMBOL(task_nice);
475 EXPORT_SYMBOL_GPL(idle_cpu);
476 #if CONFIG_SMP
477 EXPORT_SYMBOL_GPL(set_cpus_allowed);
478 #endif
479 EXPORT_SYMBOL(jiffies);
480 EXPORT_SYMBOL(xtime);
481 EXPORT_SYMBOL(do_gettimeofday);
482 EXPORT_SYMBOL(do_settimeofday);
483
484 #if !defined(__ia64__)
485 EXPORT_SYMBOL(loops_per_jiffy);
486 #endif
487
488 EXPORT_SYMBOL(kstat);
489 EXPORT_SYMBOL(nr_running);
490 EXPORT_SYMBOL(nr_context_switches);
491
492 /* misc */
493 EXPORT_SYMBOL(panic);
494 EXPORT_SYMBOL(sprintf);
495 EXPORT_SYMBOL(snprintf);
496 EXPORT_SYMBOL(sscanf);
497 EXPORT_SYMBOL(vsprintf);
498 EXPORT_SYMBOL(vsnprintf);
499 EXPORT_SYMBOL(vsscanf);
500 EXPORT_SYMBOL(kdevname);
501 EXPORT_SYMBOL(bdevname);
502 EXPORT_SYMBOL(cdevname);
503 EXPORT_SYMBOL(simple_strtoul);
504 EXPORT_SYMBOL(system_utsname);  /* UTS data */
505 EXPORT_SYMBOL(uts_sem);         /* UTS semaphore */
506 #ifndef __mips__
507 EXPORT_SYMBOL(sys_call_table);
508 #endif
509 EXPORT_SYMBOL(machine_restart);
510 EXPORT_SYMBOL(machine_halt);
511 EXPORT_SYMBOL(machine_power_off);
512 EXPORT_SYMBOL(_ctype);
513 EXPORT_SYMBOL(secure_tcp_sequence_number);
514 EXPORT_SYMBOL(get_random_bytes);
515 EXPORT_SYMBOL(securebits);
516 EXPORT_SYMBOL(cap_bset);
517 EXPORT_SYMBOL(reparent_to_init);
518 EXPORT_SYMBOL(daemonize);
519 EXPORT_SYMBOL(csum_partial); /* for networking and md */
520 EXPORT_SYMBOL(seq_escape);
521 EXPORT_SYMBOL(seq_printf);
522 EXPORT_SYMBOL(seq_open);
523 EXPORT_SYMBOL(seq_release);
524 EXPORT_SYMBOL(seq_read);
525 EXPORT_SYMBOL(seq_lseek);
526
527 /* Program loader interfaces */
528 EXPORT_SYMBOL(setup_arg_pages);
529 EXPORT_SYMBOL(copy_strings_kernel);
530 EXPORT_SYMBOL(do_execve);
531 EXPORT_SYMBOL(flush_old_exec);
532 EXPORT_SYMBOL(kernel_read);
533 EXPORT_SYMBOL(open_exec);
534
535 /* Miscellaneous access points */
536 EXPORT_SYMBOL(si_meminfo);
537
538 /* Added to make file system as module */
539 EXPORT_SYMBOL(sys_tz);
540 EXPORT_SYMBOL(file_fsync);
541 EXPORT_SYMBOL(fsync_buffers_list);
542 EXPORT_SYMBOL(clear_inode);
543 EXPORT_SYMBOL(init_special_inode);
544 EXPORT_SYMBOL(__get_hash_table);
545 EXPORT_SYMBOL(new_inode);
546 EXPORT_SYMBOL(insert_inode_hash);
547 EXPORT_SYMBOL(remove_inode_hash);
548 EXPORT_SYMBOL(buffer_insert_list);
549 EXPORT_SYMBOL(make_bad_inode);
550 EXPORT_SYMBOL(is_bad_inode);
551 EXPORT_SYMBOL(event);
552 EXPORT_SYMBOL(brw_page);
553
554 #ifdef CONFIG_UID16
555 EXPORT_SYMBOL(overflowuid);
556 EXPORT_SYMBOL(overflowgid);
557 #endif
558 EXPORT_SYMBOL(fs_overflowuid);
559 EXPORT_SYMBOL(fs_overflowgid);
560
561 /* all busmice */
562 EXPORT_SYMBOL(fasync_helper);
563 EXPORT_SYMBOL(kill_fasync);
564
565 EXPORT_SYMBOL(disk_name);       /* for md.c */
566
567 /* binfmt_aout */
568 EXPORT_SYMBOL(get_write_access);
569
570 /* library functions */
571 EXPORT_SYMBOL(strnicmp);
572 EXPORT_SYMBOL(strspn);
573 EXPORT_SYMBOL(strsep);
574
575 /* software interrupts */
576 EXPORT_SYMBOL(tasklet_hi_vec);
577 EXPORT_SYMBOL(tasklet_vec);
578 EXPORT_SYMBOL(bh_task_vec);
579 EXPORT_SYMBOL(init_bh);
580 EXPORT_SYMBOL(remove_bh);
581 EXPORT_SYMBOL(tasklet_init);
582 EXPORT_SYMBOL(tasklet_kill);
583 EXPORT_SYMBOL(__run_task_queue);
584 EXPORT_SYMBOL(do_softirq);
585 EXPORT_SYMBOL(raise_softirq);
586 EXPORT_SYMBOL(cpu_raise_softirq);
587 EXPORT_SYMBOL(__tasklet_schedule);
588 EXPORT_SYMBOL(__tasklet_hi_schedule);
589
590 /* init task, for moving kthread roots - ought to export a function ?? */
591
592 EXPORT_SYMBOL(init_task);
593 EXPORT_SYMBOL(init_thread_union);
594
595 EXPORT_SYMBOL(tasklist_lock);
596 EXPORT_SYMBOL(pidhash);