patch-1.3.58 linux/arch/i386/kernel/ksyms.c
Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jan 18 10:34:55 1996
- Orig file:
v1.3.57/linux/arch/i386/kernel/ksyms.c
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.57/linux/arch/i386/kernel/ksyms.c linux/arch/i386/kernel/ksyms.c
@@ -0,0 +1,17 @@
+#include <linux/module.h>
+#include <linux/smp.h>
+
+
+static struct symbol_table arch_symbol_table = {
+#include <linux/symtab_begin.h>
+ /* platform dependent support */
+#ifdef __SMP__
+ X(apic_reg), /* Needed internally for the I386 inlines */
+#endif
+#include <linux/symtab_end.h>
+};
+
+void arch_syms_export(void)
+{
+ register_symtab(&arch_symbol_table);
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this