Fix arch headers.
[linux-flexiantxendom0-3.2.10.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/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/pagevec.h>
35 #include <linux/ctype.h>
36 #include <linux/file.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/uio.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 <linux/namei.h>
52 #include <linux/buffer_head.h>
53 #include <linux/root_dev.h>
54 #include <linux/percpu.h>
55 #include <linux/smp_lock.h>
56 #include <linux/dnotify.h>
57 #include <linux/mount.h>
58 #include <linux/ptrace.h>
59 #include <linux/time.h>
60 #include <linux/backing-dev.h>
61 #include <linux/percpu_counter.h>
62 #include <asm/checksum.h>
63
64 #if defined(CONFIG_PROC_FS)
65 #include <linux/proc_fs.h>
66 #endif
67 #ifdef CONFIG_KMOD
68 #include <linux/kmod.h>
69 #endif
70
71 extern struct timezone sys_tz;
72
73 extern int panic_timeout;
74
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
81 /* internal kernel memory management */
82 EXPORT_SYMBOL(__alloc_pages);
83 EXPORT_SYMBOL(__get_free_pages);
84 EXPORT_SYMBOL(get_zeroed_page);
85 EXPORT_SYMBOL(__page_cache_release);
86 EXPORT_SYMBOL(__pagevec_lru_add);
87 EXPORT_SYMBOL(__free_pages);
88 EXPORT_SYMBOL(free_pages);
89 EXPORT_SYMBOL(num_physpages);
90 EXPORT_SYMBOL(kmem_find_general_cachep);
91 EXPORT_SYMBOL(kmem_cache_create);
92 EXPORT_SYMBOL(kmem_cache_destroy);
93 EXPORT_SYMBOL(kmem_cache_shrink);
94 EXPORT_SYMBOL(kmem_cache_alloc);
95 EXPORT_SYMBOL(kmem_cache_free);
96 EXPORT_SYMBOL(kmem_cache_size);
97 EXPORT_SYMBOL(set_shrinker);
98 EXPORT_SYMBOL(remove_shrinker);
99 EXPORT_SYMBOL(kmalloc);
100 EXPORT_SYMBOL(kfree);
101 #ifdef CONFIG_SMP
102 EXPORT_SYMBOL(kmalloc_percpu);
103 EXPORT_SYMBOL(kfree_percpu);
104 EXPORT_SYMBOL(percpu_counter_mod);
105 #endif
106 EXPORT_SYMBOL(vfree);
107 EXPORT_SYMBOL(__vmalloc);
108 EXPORT_SYMBOL(vmalloc);
109 EXPORT_SYMBOL(vmalloc_32);
110 EXPORT_SYMBOL(vmap);
111 EXPORT_SYMBOL(vunmap);
112 EXPORT_SYMBOL(vmalloc_to_page);
113 EXPORT_SYMBOL(remap_page_range);
114 #ifndef CONFIG_DISCONTIGMEM
115 EXPORT_SYMBOL(contig_page_data);
116 EXPORT_SYMBOL(mem_map);
117 EXPORT_SYMBOL(max_mapnr);
118 #endif
119 EXPORT_SYMBOL(high_memory);
120 EXPORT_SYMBOL(vmtruncate);
121 EXPORT_SYMBOL(find_vma);
122 EXPORT_SYMBOL(get_unmapped_area);
123 EXPORT_SYMBOL(init_mm);
124 EXPORT_SYMBOL(blk_queue_bounce);
125 EXPORT_SYMBOL(blk_congestion_wait);
126 #ifdef CONFIG_HIGHMEM
127 EXPORT_SYMBOL(kmap_high);
128 EXPORT_SYMBOL(kunmap_high);
129 EXPORT_SYMBOL(highmem_start_page);
130 EXPORT_SYMBOL(kmap_prot);
131 EXPORT_SYMBOL(kmap_pte);
132 #endif
133 #ifdef HASHED_PAGE_VIRTUAL
134 EXPORT_SYMBOL(page_address);
135 #endif
136 EXPORT_SYMBOL(get_user_pages);
137
138 /* filesystem internal functions */
139 EXPORT_SYMBOL(def_blk_fops);
140 EXPORT_SYMBOL(update_atime);
141 EXPORT_SYMBOL(get_fs_type);
142 EXPORT_SYMBOL(user_get_super);
143 EXPORT_SYMBOL(get_super);
144 EXPORT_SYMBOL(drop_super);
145 EXPORT_SYMBOL(getname);
146 EXPORT_SYMBOL(names_cachep);
147 EXPORT_SYMBOL(fput);
148 EXPORT_SYMBOL(fget);
149 EXPORT_SYMBOL(igrab);
150 EXPORT_SYMBOL(iunique);
151 EXPORT_SYMBOL(iput);
152 EXPORT_SYMBOL(inode_init_once);
153 EXPORT_SYMBOL(follow_up);
154 EXPORT_SYMBOL(follow_down);
155 EXPORT_SYMBOL(lookup_mnt);
156 EXPORT_SYMBOL(path_lookup);
157 EXPORT_SYMBOL(path_walk);
158 EXPORT_SYMBOL(path_release);
159 EXPORT_SYMBOL(__user_walk);
160 EXPORT_SYMBOL(lookup_one_len);
161 EXPORT_SYMBOL(lookup_hash);
162 EXPORT_SYMBOL(sys_close);
163 EXPORT_SYMBOL(dcache_lock);
164 EXPORT_SYMBOL(d_alloc_root);
165 EXPORT_SYMBOL(d_delete);
166 EXPORT_SYMBOL(dget_locked);
167 EXPORT_SYMBOL(d_validate);
168 EXPORT_SYMBOL(d_rehash);
169 EXPORT_SYMBOL(d_invalidate);    /* May be it will be better in dcache.h? */
170 EXPORT_SYMBOL(d_move);
171 EXPORT_SYMBOL(d_instantiate);
172 EXPORT_SYMBOL(d_alloc);
173 EXPORT_SYMBOL(d_alloc_anon);
174 EXPORT_SYMBOL(d_splice_alias);
175 EXPORT_SYMBOL(d_lookup);
176 EXPORT_SYMBOL(d_path);
177 EXPORT_SYMBOL(mark_buffer_dirty);
178 EXPORT_SYMBOL(end_buffer_io_sync);
179 EXPORT_SYMBOL(end_buffer_async_write);
180 EXPORT_SYMBOL(__mark_inode_dirty);
181 EXPORT_SYMBOL(get_empty_filp);
182 EXPORT_SYMBOL(open_private_file);
183 EXPORT_SYMBOL(close_private_file);
184 EXPORT_SYMBOL(filp_open);
185 EXPORT_SYMBOL(filp_close);
186 EXPORT_SYMBOL(put_filp);
187 EXPORT_SYMBOL(files_lock);
188 EXPORT_SYMBOL(check_disk_change);
189 EXPORT_SYMBOL(invalidate_bdev);
190 EXPORT_SYMBOL(invalidate_inodes);
191 EXPORT_SYMBOL(__invalidate_device);
192 EXPORT_SYMBOL(invalidate_inode_pages);
193 EXPORT_SYMBOL_GPL(invalidate_inode_pages2);
194 EXPORT_SYMBOL(truncate_inode_pages);
195 EXPORT_SYMBOL(fsync_bdev);
196 EXPORT_SYMBOL(permission);
197 EXPORT_SYMBOL(vfs_permission);
198 EXPORT_SYMBOL(inode_setattr);
199 EXPORT_SYMBOL(inode_change_ok);
200 EXPORT_SYMBOL(write_inode_now);
201 EXPORT_SYMBOL(notify_change);
202 EXPORT_SYMBOL(set_blocksize);
203 EXPORT_SYMBOL(sb_set_blocksize);
204 EXPORT_SYMBOL(sb_min_blocksize);
205 EXPORT_SYMBOL(bdget);
206 EXPORT_SYMBOL(bdput);
207 EXPORT_SYMBOL(bd_claim);
208 EXPORT_SYMBOL(bd_release);
209 EXPORT_SYMBOL(open_bdev_excl);
210 EXPORT_SYMBOL(close_bdev_excl);
211 EXPORT_SYMBOL(open_by_devnum);
212 EXPORT_SYMBOL(__brelse);
213 EXPORT_SYMBOL(__bforget);
214 EXPORT_SYMBOL(ll_rw_block);
215 EXPORT_SYMBOL(sync_dirty_buffer);
216 EXPORT_SYMBOL(submit_bh);
217 EXPORT_SYMBOL(unlock_buffer);
218 EXPORT_SYMBOL(__wait_on_buffer);
219 EXPORT_SYMBOL(blockdev_direct_IO);
220 EXPORT_SYMBOL(block_write_full_page);
221 EXPORT_SYMBOL(block_read_full_page);
222 EXPORT_SYMBOL(block_prepare_write);
223 EXPORT_SYMBOL(block_sync_page);
224 EXPORT_SYMBOL(generic_cont_expand);
225 EXPORT_SYMBOL(cont_prepare_write);
226 EXPORT_SYMBOL(generic_commit_write);
227 EXPORT_SYMBOL(block_truncate_page);
228 EXPORT_SYMBOL(generic_block_bmap);
229 EXPORT_SYMBOL(generic_file_read);
230 EXPORT_SYMBOL(generic_file_sendfile);
231 EXPORT_SYMBOL(do_generic_mapping_read);
232 EXPORT_SYMBOL(file_ra_state_init);
233 EXPORT_SYMBOL(generic_file_write);
234 EXPORT_SYMBOL(generic_file_write_nolock);
235 EXPORT_SYMBOL(generic_file_mmap);
236 EXPORT_SYMBOL(generic_file_readonly_mmap);
237 EXPORT_SYMBOL(generic_ro_fops);
238 EXPORT_SYMBOL(dput);
239 EXPORT_SYMBOL(have_submounts);
240 EXPORT_SYMBOL(d_find_alias);
241 EXPORT_SYMBOL(d_prune_aliases);
242 EXPORT_SYMBOL(shrink_dcache_sb);
243 EXPORT_SYMBOL(shrink_dcache_parent);
244 EXPORT_SYMBOL(shrink_dcache_anon);
245 EXPORT_SYMBOL(find_inode_number);
246 EXPORT_SYMBOL(is_subdir);
247 EXPORT_SYMBOL(get_unused_fd);
248 EXPORT_SYMBOL(vfs_read);
249 EXPORT_SYMBOL(vfs_readv);
250 EXPORT_SYMBOL(vfs_write);
251 EXPORT_SYMBOL(vfs_writev);
252 EXPORT_SYMBOL(vfs_create);
253 EXPORT_SYMBOL(vfs_mkdir);
254 EXPORT_SYMBOL(vfs_mknod);
255 EXPORT_SYMBOL(vfs_symlink);
256 EXPORT_SYMBOL(vfs_link);
257 EXPORT_SYMBOL(vfs_rmdir);
258 EXPORT_SYMBOL(vfs_unlink);
259 EXPORT_SYMBOL(vfs_rename);
260 EXPORT_SYMBOL(vfs_statfs);
261 EXPORT_SYMBOL(vfs_fstat);
262 EXPORT_SYMBOL(vfs_stat);
263 EXPORT_SYMBOL(vfs_lstat);
264 EXPORT_SYMBOL(vfs_getattr);
265 EXPORT_SYMBOL(inode_add_bytes);
266 EXPORT_SYMBOL(inode_sub_bytes);
267 EXPORT_SYMBOL(inode_get_bytes);
268 EXPORT_SYMBOL(inode_set_bytes);
269 EXPORT_SYMBOL(lock_rename);
270 EXPORT_SYMBOL(unlock_rename);
271 EXPORT_SYMBOL(generic_read_dir);
272 EXPORT_SYMBOL(generic_fillattr);
273 EXPORT_SYMBOL(generic_file_llseek);
274 EXPORT_SYMBOL(remote_llseek);
275 EXPORT_SYMBOL(no_llseek);
276 EXPORT_SYMBOL(poll_initwait);
277 EXPORT_SYMBOL(poll_freewait);
278 EXPORT_SYMBOL(ROOT_DEV);
279 EXPORT_SYMBOL(find_get_page);
280 EXPORT_SYMBOL(find_lock_page);
281 EXPORT_SYMBOL(find_trylock_page);
282 EXPORT_SYMBOL(find_or_create_page);
283 EXPORT_SYMBOL(grab_cache_page_nowait);
284 EXPORT_SYMBOL(read_cache_page);
285 EXPORT_SYMBOL(read_cache_pages);
286 EXPORT_SYMBOL(mark_page_accessed);
287 EXPORT_SYMBOL(vfs_readlink);
288 EXPORT_SYMBOL(vfs_follow_link);
289 EXPORT_SYMBOL(page_readlink);
290 EXPORT_SYMBOL(page_follow_link);
291 EXPORT_SYMBOL(page_symlink_inode_operations);
292 EXPORT_SYMBOL(page_symlink);
293 EXPORT_SYMBOL(vfs_readdir);
294 EXPORT_SYMBOL(__break_lease);
295 EXPORT_SYMBOL(lease_get_mtime);
296 EXPORT_SYMBOL(lock_may_read);
297 EXPORT_SYMBOL(lock_may_write);
298 EXPORT_SYMBOL(dcache_dir_open);
299 EXPORT_SYMBOL(dcache_dir_close);
300 EXPORT_SYMBOL(dcache_dir_lseek);
301 EXPORT_SYMBOL(dcache_readdir);
302 EXPORT_SYMBOL(simple_getattr);
303 EXPORT_SYMBOL(simple_statfs);
304 EXPORT_SYMBOL(simple_lookup);
305 EXPORT_SYMBOL(simple_dir_operations);
306 EXPORT_SYMBOL(simple_dir_inode_operations);
307 EXPORT_SYMBOL(simple_link);
308 EXPORT_SYMBOL(simple_unlink);
309 EXPORT_SYMBOL(simple_rmdir);
310 EXPORT_SYMBOL(simple_rename);
311 EXPORT_SYMBOL(simple_sync_file);
312 EXPORT_SYMBOL(simple_readpage);
313 EXPORT_SYMBOL(simple_prepare_write);
314 EXPORT_SYMBOL(simple_commit_write);
315 EXPORT_SYMBOL(simple_empty);
316 EXPORT_SYMBOL(simple_fill_super);
317 EXPORT_SYMBOL(simple_pin_fs);
318 EXPORT_SYMBOL(simple_release_fs);
319 EXPORT_SYMBOL(fd_install);
320 EXPORT_SYMBOL(put_unused_fd);
321 EXPORT_SYMBOL(get_sb_bdev);
322 EXPORT_SYMBOL(kill_block_super);
323 EXPORT_SYMBOL(get_sb_nodev);
324 EXPORT_SYMBOL(get_sb_single);
325 EXPORT_SYMBOL(kill_anon_super);
326 EXPORT_SYMBOL(kill_litter_super);
327 EXPORT_SYMBOL(generic_shutdown_super);
328 EXPORT_SYMBOL(deactivate_super);
329 EXPORT_SYMBOL(sget);
330 EXPORT_SYMBOL(set_anon_super);
331 EXPORT_SYMBOL(do_select);
332
333 /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
334 EXPORT_SYMBOL(default_llseek);
335 EXPORT_SYMBOL(dentry_open);
336 #ifdef CONFIG_MMU
337 EXPORT_SYMBOL(filemap_nopage);
338 #endif
339 EXPORT_SYMBOL(filemap_fdatawrite);
340 EXPORT_SYMBOL(filemap_fdatawait);
341 EXPORT_SYMBOL(lock_page);
342 EXPORT_SYMBOL(unlock_page);
343
344 /* device registration */
345 EXPORT_SYMBOL(register_chrdev);
346 EXPORT_SYMBOL(unregister_chrdev);
347 EXPORT_SYMBOL(register_blkdev);
348 EXPORT_SYMBOL(unregister_blkdev);
349 EXPORT_SYMBOL(tty_register_driver);
350 EXPORT_SYMBOL(tty_unregister_driver);
351 EXPORT_SYMBOL(tty_std_termios);
352
353 /* block device driver support */
354 EXPORT_SYMBOL(bmap);
355 EXPORT_SYMBOL(blkdev_open);
356 EXPORT_SYMBOL(blkdev_get);
357 EXPORT_SYMBOL(blkdev_put);
358 EXPORT_SYMBOL(ioctl_by_bdev);
359 EXPORT_SYMBOL(read_dev_sector);
360 EXPORT_SYMBOL(init_buffer);
361 EXPORT_SYMBOL_GPL(generic_file_direct_IO);
362 EXPORT_SYMBOL(generic_file_readv);
363 EXPORT_SYMBOL(generic_file_writev);
364 EXPORT_SYMBOL(iov_shorten);
365 EXPORT_SYMBOL_GPL(default_backing_dev_info);
366
367 /* tty routines */
368 EXPORT_SYMBOL(tty_wait_until_sent);
369 EXPORT_SYMBOL(tty_flip_buffer_push);
370
371 /* filesystem registration */
372 EXPORT_SYMBOL(register_filesystem);
373 EXPORT_SYMBOL(unregister_filesystem);
374 EXPORT_SYMBOL(kern_mount);
375 EXPORT_SYMBOL(__mntput);
376 EXPORT_SYMBOL(may_umount);
377
378 /* executable format registration */
379 EXPORT_SYMBOL(register_binfmt);
380 EXPORT_SYMBOL(unregister_binfmt);
381 EXPORT_SYMBOL(search_binary_handler);
382 EXPORT_SYMBOL(prepare_binprm);
383 EXPORT_SYMBOL(compute_creds);
384 EXPORT_SYMBOL(remove_arg_zero);
385 EXPORT_SYMBOL(set_binfmt);
386
387 /* sysctl table registration */
388 EXPORT_SYMBOL(register_sysctl_table);
389 EXPORT_SYMBOL(unregister_sysctl_table);
390 EXPORT_SYMBOL(sysctl_string);
391 EXPORT_SYMBOL(sysctl_intvec);
392 EXPORT_SYMBOL(sysctl_jiffies);
393 EXPORT_SYMBOL(proc_dostring);
394 EXPORT_SYMBOL(proc_dointvec);
395 EXPORT_SYMBOL(proc_dointvec_jiffies);
396 EXPORT_SYMBOL(proc_dointvec_minmax);
397 EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax);
398 EXPORT_SYMBOL(proc_doulongvec_minmax);
399
400 /* interrupt handling */
401 EXPORT_SYMBOL(add_timer);
402 EXPORT_SYMBOL(del_timer);
403 EXPORT_SYMBOL(request_irq);
404 EXPORT_SYMBOL(free_irq);
405 #if !defined(CONFIG_IA64)
406 EXPORT_SYMBOL(irq_stat);
407 #endif
408
409 /* waitqueue handling */
410 EXPORT_SYMBOL(add_wait_queue);
411 EXPORT_SYMBOL(add_wait_queue_exclusive);
412 EXPORT_SYMBOL(remove_wait_queue);
413 EXPORT_SYMBOL(prepare_to_wait);
414 EXPORT_SYMBOL(prepare_to_wait_exclusive);
415 EXPORT_SYMBOL(finish_wait);
416 EXPORT_SYMBOL(autoremove_wake_function);
417
418 /* completion handling */
419 EXPORT_SYMBOL(wait_for_completion);
420 EXPORT_SYMBOL(complete);
421
422 /* The notion of irq probe/assignment is foreign to S/390 */
423
424 #if !defined(CONFIG_ARCH_S390)
425 EXPORT_SYMBOL(probe_irq_on);
426 EXPORT_SYMBOL(probe_irq_off);
427 #endif
428
429 #ifdef CONFIG_SMP
430 EXPORT_SYMBOL(del_timer_sync);
431 #endif
432 EXPORT_SYMBOL(mod_timer);
433
434 #ifdef CONFIG_SMP
435
436 /* Big-Reader lock implementation */
437 EXPORT_SYMBOL(__brlock_array);
438 #ifndef __BRLOCK_USE_ATOMICS
439 EXPORT_SYMBOL(__br_write_locks);
440 #endif
441 EXPORT_SYMBOL(__br_write_lock);
442 EXPORT_SYMBOL(__br_write_unlock);
443 #endif
444
445 #ifdef HAVE_DISABLE_HLT
446 EXPORT_SYMBOL(disable_hlt);
447 EXPORT_SYMBOL(enable_hlt);
448 #endif
449
450 /* resource handling */
451 EXPORT_SYMBOL(request_resource);
452 EXPORT_SYMBOL(release_resource);
453 EXPORT_SYMBOL(allocate_resource);
454 EXPORT_SYMBOL(__request_region);
455 EXPORT_SYMBOL(__check_region);
456 EXPORT_SYMBOL(__release_region);
457 EXPORT_SYMBOL(ioport_resource);
458 EXPORT_SYMBOL(iomem_resource);
459
460 /* process management */
461 EXPORT_SYMBOL(complete_and_exit);
462 EXPORT_SYMBOL(default_wake_function);
463 EXPORT_SYMBOL(__wake_up);
464 #if CONFIG_SMP
465 EXPORT_SYMBOL_GPL(__wake_up_sync); /* internal use only */
466 #endif
467 EXPORT_SYMBOL(wake_up_process);
468 EXPORT_SYMBOL(sleep_on);
469 EXPORT_SYMBOL(sleep_on_timeout);
470 EXPORT_SYMBOL(interruptible_sleep_on);
471 EXPORT_SYMBOL(interruptible_sleep_on_timeout);
472 EXPORT_SYMBOL(schedule);
473 #ifdef CONFIG_PREEMPT
474 EXPORT_SYMBOL(preempt_schedule);
475 #endif
476 EXPORT_SYMBOL(schedule_timeout);
477 EXPORT_SYMBOL(yield);
478 EXPORT_SYMBOL(__cond_resched);
479 EXPORT_SYMBOL(set_user_nice);
480 EXPORT_SYMBOL(task_nice);
481 EXPORT_SYMBOL_GPL(idle_cpu);
482 #if CONFIG_SMP
483 EXPORT_SYMBOL_GPL(set_cpus_allowed);
484 #endif
485 #if CONFIG_SMP || CONFIG_PREEMPT
486 EXPORT_SYMBOL(kernel_flag);
487 #endif
488 EXPORT_SYMBOL(jiffies);
489 EXPORT_SYMBOL(jiffies_64);
490 EXPORT_SYMBOL(xtime);
491 EXPORT_SYMBOL(xtime_lock);
492 EXPORT_SYMBOL(do_gettimeofday);
493 EXPORT_SYMBOL(do_settimeofday);
494 #if (BITS_PER_LONG < 64)
495 EXPORT_SYMBOL(get_jiffies_64);
496 #endif
497 #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
498 EXPORT_SYMBOL(__might_sleep);
499 #endif
500 #if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT)
501 EXPORT_SYMBOL(__preempt_spin_lock);
502 EXPORT_SYMBOL(__preempt_write_lock);
503 #endif
504 #if !defined(__ia64__)
505 EXPORT_SYMBOL(loops_per_jiffy);
506 #endif
507
508
509 /* misc */
510 EXPORT_SYMBOL(panic);
511 EXPORT_SYMBOL(panic_notifier_list);
512 EXPORT_SYMBOL(panic_timeout);
513 EXPORT_SYMBOL(sprintf);
514 EXPORT_SYMBOL(snprintf);
515 EXPORT_SYMBOL(sscanf);
516 EXPORT_SYMBOL(vsprintf);
517 EXPORT_SYMBOL(vsnprintf);
518 EXPORT_SYMBOL(vsscanf);
519 EXPORT_SYMBOL(__bdevname);
520 EXPORT_SYMBOL(bdevname);
521 EXPORT_SYMBOL(cdevname);
522 EXPORT_SYMBOL(simple_strtoull);
523 EXPORT_SYMBOL(simple_strtoul);
524 EXPORT_SYMBOL(simple_strtol);
525 EXPORT_SYMBOL(system_utsname);  /* UTS data */
526 EXPORT_SYMBOL(uts_sem);         /* UTS semaphore */
527 EXPORT_SYMBOL(machine_restart);
528 EXPORT_SYMBOL(machine_halt);
529 EXPORT_SYMBOL(machine_power_off);
530 EXPORT_SYMBOL(_ctype);
531 EXPORT_SYMBOL(secure_tcp_sequence_number);
532 EXPORT_SYMBOL(get_random_bytes);
533 EXPORT_SYMBOL(securebits);
534 EXPORT_SYMBOL(cap_bset);
535 EXPORT_SYMBOL(daemonize);
536 EXPORT_SYMBOL(csum_partial); /* for networking and md */
537 EXPORT_SYMBOL(seq_escape);
538 EXPORT_SYMBOL(seq_printf);
539 EXPORT_SYMBOL(seq_open);
540 EXPORT_SYMBOL(seq_release);
541 EXPORT_SYMBOL(seq_read);
542 EXPORT_SYMBOL(seq_lseek);
543 EXPORT_SYMBOL(single_open);
544 EXPORT_SYMBOL(single_release);
545
546 /* Program loader interfaces */
547 #ifdef CONFIG_MMU
548 EXPORT_SYMBOL(setup_arg_pages);
549 #endif
550 EXPORT_SYMBOL(copy_strings_kernel);
551 EXPORT_SYMBOL(do_execve);
552 EXPORT_SYMBOL(flush_old_exec);
553 EXPORT_SYMBOL(kernel_read);
554 EXPORT_SYMBOL(open_exec);
555
556 /* Miscellaneous access points */
557 EXPORT_SYMBOL(si_meminfo);
558
559 /* Added to make file system as module */
560 EXPORT_SYMBOL(sys_tz);
561 EXPORT_SYMBOL(file_fsync);
562 EXPORT_SYMBOL(fsync_buffers_list);
563 EXPORT_SYMBOL(clear_inode);
564 EXPORT_SYMBOL(init_special_inode);
565 EXPORT_SYMBOL(new_inode);
566 EXPORT_SYMBOL(__insert_inode_hash);
567 EXPORT_SYMBOL(remove_inode_hash);
568 EXPORT_SYMBOL(buffer_insert_list);
569 EXPORT_SYMBOL(make_bad_inode);
570 EXPORT_SYMBOL(is_bad_inode);
571 EXPORT_SYMBOL(__inode_dir_notify);
572
573 #ifdef CONFIG_UID16
574 EXPORT_SYMBOL(overflowuid);
575 EXPORT_SYMBOL(overflowgid);
576 #endif
577 EXPORT_SYMBOL(fs_overflowuid);
578 EXPORT_SYMBOL(fs_overflowgid);
579
580 /* all busmice */
581 EXPORT_SYMBOL(fasync_helper);
582 EXPORT_SYMBOL(kill_fasync);
583
584 EXPORT_SYMBOL(partition_name);
585
586 /* binfmt_aout */
587 EXPORT_SYMBOL(get_write_access);
588
589 /* library functions */
590 EXPORT_SYMBOL(strnicmp);
591 EXPORT_SYMBOL(strspn);
592 EXPORT_SYMBOL(strsep);
593
594 /* software interrupts */
595 EXPORT_SYMBOL(tasklet_init);
596 EXPORT_SYMBOL(tasklet_kill);
597 EXPORT_SYMBOL(do_softirq);
598 EXPORT_SYMBOL(raise_softirq);
599 EXPORT_SYMBOL(open_softirq);
600 EXPORT_SYMBOL(cpu_raise_softirq);
601 EXPORT_SYMBOL(__tasklet_schedule);
602 EXPORT_SYMBOL(__tasklet_hi_schedule);
603
604 /* init task, for moving kthread roots - ought to export a function ?? */
605
606 EXPORT_SYMBOL(init_task);
607 #ifndef CONFIG_IA64
608 EXPORT_SYMBOL(init_thread_union);
609 #endif
610
611 EXPORT_SYMBOL(tasklist_lock);
612 EXPORT_SYMBOL(find_task_by_pid);
613 EXPORT_SYMBOL(next_thread);
614 #if defined(CONFIG_SMP) && defined(__GENERIC_PER_CPU)
615 EXPORT_SYMBOL(__per_cpu_offset);
616 #endif
617
618 /* debug */
619 EXPORT_SYMBOL(dump_stack);
620 EXPORT_SYMBOL(ptrace_notify);
621
622 EXPORT_SYMBOL(current_kernel_time);