From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [RFC: 2.6 patch] unexport *flush_tlb_all
Date: Fri, 21 Jan 2005 11:39:26 +0100 [thread overview]
Message-ID: <20050121103926.GJ3209@stusta.de> (raw)
flush_tlb_all was exported on i386 for a DRM usage - that was removed
in 2003.
I haven't found any modular usage of *flush_tlb_all in the kernel.
This patch was tested only on i386, please report if I missed a modular
usage on other architectures.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/alpha/kernel/alpha_ksyms.c | 1 -
arch/i386/kernel/i386_ksyms.c | 1 -
arch/ia64/kernel/smp.c | 1 -
arch/ia64/mm/tlb.c | 1 -
arch/m32r/kernel/m32r_ksyms.c | 1 -
arch/x86_64/kernel/x8664_ksyms.c | 1 -
6 files changed, 6 deletions(-)
--- linux-2.6.11-rc1-mm2-full/arch/i386/kernel/i386_ksyms.c.old 2005-01-21 11:23:26.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/i386/kernel/i386_ksyms.c 2005-01-21 11:25:59.000000000 +0100
@@ -144,7 +144,6 @@
/* TLB flushing */
EXPORT_SYMBOL(flush_tlb_page);
-EXPORT_SYMBOL_GPL(flush_tlb_all);
#endif
#ifdef CONFIG_X86_IO_APIC
--- linux-2.6.11-rc1-mm2-full/arch/ia64/kernel/smp.c.old 2005-01-21 11:26:20.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/ia64/kernel/smp.c 2005-01-21 11:26:55.000000000 +0100
@@ -227,7 +227,6 @@
{
on_each_cpu((void (*)(void *))local_flush_tlb_all, NULL, 1, 1);
}
-EXPORT_SYMBOL(smp_flush_tlb_all);
void
smp_flush_tlb_mm (struct mm_struct *mm)
--- linux-2.6.11-rc1-mm2-full/arch/ia64/mm/tlb.c.old 2005-01-21 11:27:34.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/ia64/mm/tlb.c 2005-01-21 11:27:42.000000000 +0100
@@ -127,7 +127,6 @@
local_irq_restore(flags);
ia64_srlz_i(); /* srlz.i implies srlz.d */
}
-EXPORT_SYMBOL(local_flush_tlb_all);
void
flush_tlb_range (struct vm_area_struct *vma, unsigned long start, unsigned long end)
--- linux-2.6.11-rc1-mm2-full/arch/alpha/kernel/alpha_ksyms.c.old 2005-01-21 11:27:49.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/alpha/kernel/alpha_ksyms.c 2005-01-21 11:27:54.000000000 +0100
@@ -176,7 +176,6 @@
#ifdef CONFIG_SMP
EXPORT_SYMBOL(synchronize_irq);
-EXPORT_SYMBOL(flush_tlb_all);
EXPORT_SYMBOL(flush_tlb_mm);
EXPORT_SYMBOL(flush_tlb_range);
EXPORT_SYMBOL(flush_tlb_page);
--- linux-2.6.11-rc1-mm2-full/arch/m32r/kernel/m32r_ksyms.c.old 2005-01-21 11:28:01.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/m32r/kernel/m32r_ksyms.c 2005-01-21 11:28:06.000000000 +0100
@@ -76,7 +76,6 @@
/* TLB flushing */
EXPORT_SYMBOL(smp_flush_tlb_page);
-EXPORT_SYMBOL_GPL(smp_flush_tlb_all);
#endif
/* compiler generated symbol */
--- linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/x8664_ksyms.c.old 2005-01-21 11:28:13.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/x8664_ksyms.c 2005-01-21 11:28:18.000000000 +0100
@@ -218,7 +218,6 @@
#ifdef CONFIG_SMP
EXPORT_SYMBOL(flush_tlb_page);
-EXPORT_SYMBOL_GPL(flush_tlb_all);
#endif
EXPORT_SYMBOL(cpu_khz);
reply other threads:[~2005-01-21 10:40 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=20050121103926.GJ3209@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®