* [RFC: 2.6 patch] unexport kmap_{pte,port}
@ 2005-01-21 10:09 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-01-21 10:09 UTC (permalink / raw)
To: linux-kernel
I haven't found any modular usage of kmap_{pte,port} on !ppc in the
kernel.
Is this patch correct?
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/i386/mm/init.c | 3 ---
arch/mips/mm/init.c | 3 ---
arch/sparc/mm/init.c | 3 ---
3 files changed, 9 deletions(-)
--- linux-2.6.11-rc1-mm2-full/arch/i386/mm/init.c.old 2005-01-20 23:45:08.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/i386/mm/init.c 2005-01-20 23:45:20.000000000 +0100
@@ -252,9 +252,6 @@
pte_t *kmap_pte;
pgprot_t kmap_prot;
-EXPORT_SYMBOL(kmap_prot);
-EXPORT_SYMBOL(kmap_pte);
-
#define kmap_get_fixmap_pte(vaddr) \
pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), vaddr), (vaddr)), (vaddr))
--- linux-2.6.11-rc1-mm2-full/arch/sparc/mm/init.c.old 2005-01-20 23:45:27.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/sparc/mm/init.c 2005-01-20 23:45:32.000000000 +0100
@@ -59,9 +59,6 @@
pte_t *kmap_pte;
pgprot_t kmap_prot;
-EXPORT_SYMBOL(kmap_prot);
-EXPORT_SYMBOL(kmap_pte);
-
#define kmap_get_fixmap_pte(vaddr) \
pte_offset_kernel(pmd_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr))
--- linux-2.6.11-rc1-mm2-full/arch/mips/mm/init.c.old 2005-01-20 23:45:39.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/mips/mm/init.c 2005-01-20 23:45:46.000000000 +0100
@@ -83,9 +83,6 @@
pte_t *kmap_pte;
pgprot_t kmap_prot;
-EXPORT_SYMBOL(kmap_prot);
-EXPORT_SYMBOL(kmap_pte);
-
#define kmap_get_fixmap_pte(vaddr) \
pte_offset_kernel(pmd_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-21 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 10:09 [RFC: 2.6 patch] unexport kmap_{pte,port} Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox