1
2
3
4
5
6
7 #include <linux/autoconf.h>
8 #include <linux/kernel.h>
9 #include <linux/fs.h>
10 #include <linux/sched.h>
11
12 #define X(name) { (void *) &name, "_" #name }
13
14 #ifdef CONFIG_FTAPE
15 extern char * ftape_big_buffer;
16 extern void (*do_floppy)(void);
17 #endif
18
19 struct {
20 void *addr;
21 const char *name;
22 } symbol_table[] = {
23 X(register_chrdev),
24 X(unregister_chrdev),
25 X(register_blkdev),
26 X(unregister_blkdev),
27 X(wake_up_interruptible),
28
29 X(wp_works_ok),
30 X(__verify_write),
31
32 X(current),
33 X(jiffies),
34 X(printk),
35 X(schedule),
36
37 #ifdef CONFIG_FTAPE
38
39 X(ftape_big_buffer),
40 X(do_floppy),
41 #endif
42
43 };
44
45 int symbol_table_size = sizeof (symbol_table) / sizeof (symbol_table[0]);