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