[2.6 patch] unexport kmap_{pte,port} on !ppc

From: Adrian Bunk
Date: Fri Mar 11 2005 - 14:05:03 EST


I haven't found any modular usage of kmap_{pte,port} on !ppc in the
kernel.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 21 Jan 2005

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))


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