patch-2.1.18 linux/include/linux/symtab_begin.h
Next file: linux/include/linux/symtab_end.h
Previous file: linux/include/linux/socket.h
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Thu Jan 1 02:00:00 1970
- Orig file:
v2.1.17/linux/include/linux/symtab_begin.h
- Orig date:
Sun Mar 17 16:15:05 1996
diff -u --recursive --new-file v2.1.17/linux/include/linux/symtab_begin.h linux/include/linux/symtab_begin.h
@@ -1,45 +0,0 @@
-#include <linux/linkage.h>
-
-#ifdef MODVERSIONS
-# undef _set_ver
-# undef X
-/*
- * These two macros _will_ get enough arguments from the X* macros
- * since "sym" expands to "symaddr, symstr" from the #define in *.ver
- */
-# define _basic_version(symaddr,symstr) symaddr, symstr
-# define _alias_version(really,symaddr,symstr) (void *) & really , symstr
-
-# ifndef __GENKSYMS__
-# ifdef MODULE
-# define _set_ver(sym,ver) \
- (void *) & sym ## _R ## ver, SYMBOL_NAME_STR(sym) "_R" #ver
-# else /* !MODULE */
-# define _set_ver(sym,ver) \
- (void *) & sym, SYMBOL_NAME_STR(sym) "_R" #ver
-# endif /* !MODULE */
-# define X(sym) { _basic_version(sym) }
-/*
- * For _really_ stacked modules:
- *
- * Use "Xalias(local_symbol, symbol_from_other_module)"
- * to make subsequent modules really use "local_symbol"
- * when they think that they are using "symbol_from_other_module"
- *
- * The "aliasing" module can still use "symbol_from_other_module",
- * but can now replace and/or modify the behaviour of that symbol.
- */
-# define Xalias(really,sym) { _alias_version(really,sym) }
-# endif /* !__GENKSYMS__ */
-#else /* !MODVERSIONS */
-# define X(sym) { (void *) & sym, SYMBOL_NAME_STR(sym)}
-# define Xalias(really,sym) { (void *) & really, SYMBOL_NAME_STR(sym)}
-#endif /* MODVERSIONS */
-/*
- * Some symbols always need to be unversioned. This includes
- * compiler generated calls to functions.
- */
-#define XNOVERS(sym) { (void *) & sym, SYMBOL_NAME_STR(sym)}
-
-#define EMPTY {0,0}
- 0, 0, 0, {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov