Skip to contentSkip to conversation

Patch: linux-2.4.0-pre1/arch/i386/i386_ksyms.c needs to export mmu_cr4_features

PATCH Adam J. Richter 1 participant 1 message Jan 10, 2001

lore
Share & tools
lore
#0 lore raw

linux-2.4.1-pre1/drivers/md/xor.c calls the macro XOR_TRY_TEMPLATES,
which is defined in include/asm-i386/xor.h to use HAVE_XMM, which is defined in include/asm-i386/processor.h to reference mmu_cr4_features. So, to support compilation of raid5 as a module, i386_ksyms.c needs to export mmu_cr4_features. I have attached the one line patch below.

Let me also add that 2.4.1-pre1 so far has been really smooth
sailing. The problems with 2.4.0 hanging on the Sony PictureBook PCG-C1VN have somehow disappeared with this version, usb-uhci.c does not generate a kernel oops on that hardware, and this minor addition to i386_ksyms.c was the only change that I had to make to get a clean build. Hooray!

Signature · 4 lines
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
[email protected]     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."
arch/i386/kernel/i386_ksyms.c +1 -0
@@ -49,6 +50,7 @@
 
 /* platform dependent support */
 EXPORT_SYMBOL(boot_cpu_data);
+EXPORT_SYMBOL(mmu_cr4_features);
 #ifdef CONFIG_EISA
 EXPORT_SYMBOL(EISA_bus);
 #endif