ksyms.c
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:16k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

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