]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/powerpc/include/asm/highmem.h
kmap_atomic: make kunmap_atomic() harder to misuse
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / include / asm / highmem.h
index a74c4ee6c0205dbad7e938ab76e012bfa6491c28..d10d64a4be38c2c5725a853498007406e211f817 100644 (file)
@@ -62,7 +62,7 @@ extern void *kmap_high(struct page *page);
 extern void kunmap_high(struct page *page);
 extern void *kmap_atomic_prot(struct page *page, enum km_type type,
                              pgprot_t prot);
-extern void kunmap_atomic(void *kvaddr, enum km_type type);
+extern void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type);
 
 static inline void *kmap(struct page *page)
 {