patch-1.3.94 linux/arch/m68k/amiga/ksyms.c

Next file: linux/arch/m68k/amiga/zorro.c
Previous file: linux/arch/m68k/amiga/config.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.93/linux/arch/m68k/amiga/ksyms.c linux/arch/m68k/amiga/ksyms.c
@@ -0,0 +1,20 @@
+#include <linux/module.h>
+
+static struct symbol_table mach_amiga_symbol_table = {
+#include <linux/symtab_begin.h>
+
+  /*
+   * Add things here when you find the need for it.
+   */
+
+  /* examble
+  X(something_you_need),
+  */
+
+#include <linux/symtab_end.h>
+};
+
+void mach_amiga_syms_export(void)
+{
+	register_symtab(&mach_amiga_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