patch-2.4.20 linux-2.4.20/include/asm-x86_64/module.h

Next file: linux-2.4.20/include/asm-x86_64/mpspec.h
Previous file: linux-2.4.20/include/asm-x86_64/mmzone.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-x86_64/module.h linux-2.4.20/include/asm-x86_64/module.h
@@ -0,0 +1,15 @@
+#ifndef _ASM_X8664_MODULE_H
+#define _ASM_X8664_MODULE_H
+
+/*
+ * This file contains the x8664 architecture specific module code.
+ * Modules need to be mapped near the kernel code to allow 32bit relocations.
+ */
+
+extern void *module_map(unsigned long);
+extern void module_unmap(void *);
+
+#define module_arch_init(x)	(0)
+#define arch_init_modules(x)	do { } while (0)
+
+#endif 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)