1 #ifdef CONFIG_MODVERSIONS /* CONFIG_MODVERSIONS */ 2 #undef _set_ver 3 #undef X 4 #ifndef __GENKSYMS__ 5 #ifdef MODULE 6 #define _set_ver(sym,ver) { (void *) & sym ## _R ## ver, "_" #sym "_R" #ver } 7 #else /* MODULE */ 8 #define _set_ver(sym,ver) { (void *) & sym, "_" #sym "_R" #ver } 9 #endif /* MODULE */ 10 #define X(a) a 11 #endif /* __GENKSYMS__ */ 12 #else /* CONFIG_MODVERSIONS */ 13 #define X(sym) { (void *) & sym, "_" #sym } 14 #endif /* CONFIG_MODVERSIONS */ 15 #define EMPTY {0,0} 16 0, 0, 0, {