author: Ira Weiny <ira.weiny@intel.com> 2020-06-04 16:47:34 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-06-04 19:06:22 -0700
commit: e23c45976f82ac789469c37e4d5a72ea2ce30bba
parent: 525aaf9bad00e7454b9f9b3873e92795afb59f8e
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 9 deletions
diff --git a/arch/arc/include/asm/highmem.h b/arch/arc/include/asm/highmem.h
index 96eb67c86961..8387a5596a91 100644
--- a/arch/arc/include/asm/highmem.h
+++ b/arch/arc/include/asm/highmem.h
@@ -32,7 +32,6 @@
extern void *kmap_atomic(struct page *page);
extern void __kunmap_atomic(void *kvaddr);
-extern void kunmap_high(struct page *page);
extern void kmap_init(void);
@@ -41,15 +40,6 @@ static inline void flush_cache_kmaps(void)
flush_cache_all();
}
-static inline void kunmap(struct page *page)
-{
- might_sleep();
- if (!PageHighMem(page))
- return;
- kunmap_high(page);
-}
-
-
#endif
#endif