1 #include <linux/config.h>
2 #include <linux/linkage.h>
3
4 #ifdef CONFIG_MODVERSIONS
5 # undef _set_ver
6 # undef X
7
8 # ifndef __GENKSYMS__
9 # ifdef MODULE
10 # define _set_ver(sym,ver) \
11 { (void *) & sym ## _R ## ver, SYMBOL_NAME_STR(sym) "_R" #ver }
12 # else
13 # define _set_ver(sym,ver) \
14 { (void *) & sym, SYMBOL_NAME_STR(sym) "_R" #ver }
15 # endif
16 # define X(a) a
17 # endif
18 #else
19 # define X(sym) { (void *) & sym, SYMBOL_NAME_STR(sym)}
20 #endif
21
22 #define EMPTY {0,0}
23 0, 0, 0, {