[patch][2.5.70] DRM (mga) SMP link fix (flush_tlb_all)

Pasi Savolainen (psavo@iki.fi)
Sun, 1 Jun 2003 16:02:00 +0000 (UTC)


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>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/