diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2015-11-09 22:58:23 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-09 23:11:24 (GMT) |
commit | 77c5b5da02f0a30d61144a546c4ef3657e3b817d (patch) | |
tree | a69b0394d50e219d2a073b7a33ea814f31618d25 /arch/mips/mm | |
parent | ce1fb04153e6d27b5f0e23a30bacaacfcae8195f (diff) | |
download | linux-77c5b5da02f0a30d61144a546c4ef3657e3b817d.tar.xz |
kmap_atomic_to_page() has no users, remove it
Removal started in commit 5bbeed12bdc3 ("sparc32: drop unused
kmap_atomic_to_page"). Let's do it across the whole tree.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/highmem.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/mm/highmem.c b/arch/mips/mm/highmem.c index 11661cb..d7258a1 100644 --- a/arch/mips/mm/highmem.c +++ b/arch/mips/mm/highmem.c @@ -118,19 +118,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); -} - void __init kmap_init(void) { unsigned long kmap_vstart; |