treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / x86 / include / asm / iomap.h
blob2a7b3211ee7a9b5c19eee08e1ef7bb451fc6694f
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _ASM_X86_IOMAP_H
3 #define _ASM_X86_IOMAP_H
5 /*
6 * Copyright © 2008 Ingo Molnar
7 */
9 #include <linux/fs.h>
10 #include <linux/mm.h>
11 #include <linux/uaccess.h>
12 #include <asm/cacheflush.h>
13 #include <asm/pgtable.h>
14 #include <asm/tlbflush.h>
16 void __iomem *
17 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
19 void
20 iounmap_atomic(void __iomem *kvaddr);
22 int
23 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
25 void
26 iomap_free(resource_size_t base, unsigned long size);
28 #endif /* _ASM_X86_IOMAP_H */