2003-06-01 15:59:35

by Pasi Savolainen

[permalink] [raw]
Subject: [patch][2.5.70] DRM (mga) SMP link fix (flush_tlb_all)


drivers/char/drm/drm_memory.h needs this to compile as module (at least)
on SMP, where flush_tlb_all() isn't a inline macro.

For some reason insmod/modprobe got a hard hang with this, even though
it did detect missing symbol (should've boil out at that stage?).
This hang prevents any further module loading/unloading activity, and is
very frustrating. Is it on must-fix list yet?


--- linux-2.5.70/arch/i386/kernel/i386_ksyms.c 2003-06-01 17:25:41.000000000 +0300
+++ linux-2.5.70-mo/arch/i386/kernel/i386_ksyms.c 2003-06-01 17:26:13.000000000 +0300
@@ -159,7 +159,7 @@

/* TLB flushing */
EXPORT_SYMBOL(flush_tlb_page);
-
+EXPORT_SYMBOL(flush_tlb_all);
#endif

#ifdef CONFIG_X86_IO_APIC


--
Psi -- <http://www.iki.fi/pasi.savolainen>