All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Dittmer <j.dittmer@portrix.net>
To: davej@suse.de
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	dri-devel@lists.sourceforge.net, psavo@iki.fi
Subject: [PATCH] export flush_tlb_all for drm modules
Date: Wed, 25 Jun 2003 12:38:16 +0200	[thread overview]
Message-ID: <3EF97B98.7020407@portrix.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

This adds an export for flush_tlb_all to i386_ksyms.c. The drm modules
miss this, when compiling for SMP.
Original fix from Pasi Savolainen, but for some reason this was not
included until now (2.5.73-mm1).
His comment:
  > 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.

Rediffed against 2.5.73-mm1. Tested loading of the module on UP/k7 with 
SMP config. I only have a R300 board, so I can't really test the driver.
I think the other drm modules should also be loadable again with this patch.

Thanks,

Jan



[-- Attachment #2: export_flush_tlb_all --]
[-- Type: text/plain, Size: 303 bytes --]

--- linux-mm/arch/i386/kernel/i386_ksyms.c	2003-05-31 14:14:59.000000000 +0200
+++ 2.5.73-mm1/arch/i386/kernel/i386_ksyms.c	2003-06-25 09:34:57.000000000 +0200
@@ -159,6 +159,7 @@
 
 /* TLB flushing */
 EXPORT_SYMBOL(flush_tlb_page);
+EXPORT_SYMBOL(flush_tlb_all);
 #endif
 
 #ifdef CONFIG_X86_IO_APIC


                 reply	other threads:[~2003-06-25 10:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF97B98.7020407@portrix.net \
    --to=j.dittmer@portrix.net \
    --cc=davej@suse.de \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=psavo@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.