Hi, The following patch exports mips_machtype to modules. Please apply. Maciej -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + patch-mips-2.4.5-20010704-machtype-0 diff -up --recursive --new-file linux-mips-2.4.5-20010704.macro/arch/mips/kernel/mips_ksyms.c linux-mips-2.4.5-20010704/arch/mips/kernel/mips_ksyms.c --- linux-mips-2.4.5-20010704.macro/arch/mips/kernel/mips_ksyms.c Thu Jun 14 04:26:19 2001 +++ linux-mips-2.4.5-20010704/arch/mips/kernel/mips_ksyms.c Sat Aug 11 21:02:38 2001 @@ -17,6 +17,7 @@ #include <linux/pci.h> #include <linux/ide.h> +#include <asm/bootinfo.h> #include <asm/checksum.h> #include <asm/dma.h> #include <asm/io.h> @@ -40,6 +41,7 @@ extern long __strlen_user_asm(const char extern long __strnlen_user_nocheck_asm(const char *s); extern long __strnlen_user_asm(const char *s); +EXPORT_SYMBOL(mips_machtype); EXPORT_SYMBOL(EISA_bus); /*