kmap-remove-kmap_atomic_to_page.patch removed from -mm tree
The patch titled
Subject: kmap: remove kmap_atomic_to_page()
has been removed from the -mm tree. Its filename was
kmap-remove-kmap_atomic_to_page.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Ira Weiny <[email protected]>
Subject: kmap: remove kmap_atomic_to_page()
kmap_atomic_to_page() has no callers and is only defined on 1 arch and declared on another. Remove it.
Signed-off-by Ira Weiny <[email protected]>
Suggested-by Al Viro <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Christian König <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Chris Zankel <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Dan Williams <[email protected]>
Cc Dave Hansen <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Helge Deller <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc Max Filippov <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/csky/include/asm/highmem.h | 1 - arch/csky/mm/highmem.c | 13 ------------- arch/nds32/include/asm/highmem.h | 1 - 3 files changed, 15 deletions(-)
arch/csky/include/asm/highmem.h renamed from arch/csky/include/asm/highmem.h~kmap-remove-kmap_atomic_to_page +0 -1
@@ -33,7 +33,6 @@ extern pte_t *pkmap_page_table;#define ARCH_HAS_KMAP_FLUSH_TLB extern void kmap_flush_tlb (unsigned long addr);extern void *kmap_atomic_pfn (unsigned long pfn); -extern struct page *kmap_atomic_to_page (void *ptr);#define flush_cache_kmaps () do {} while (0)
arch/csky/mm/highmem.c renamed from arch/csky/mm/highmem.c~kmap-remove-kmap_atomic_to_page +0 -12
@@ -81,19 +81,6 @@ void *kmap_atomic_pfn(unsigned long pfn)return (void *) vaddr; } -struct page *kmap_atomic_to_page (void *ptr) -{ -unsigned long idx, vaddr = (unsigned long )ptr; -pte_t *pte; - -if (vaddr <FIXADDR_START ) -return virt_to_page (ptr); - - idx =virt_to_fix (vaddr); - pte = kmap_pte - (idx -FIX_KMAP_BEGIN ); -return pte_page (*pte); -}