1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _ASM_X86_IOMAP_H
3 #define _ASM_X86_IOMAP_H
6 * Copyright © 2008 Ingo Molnar
11 #include <linux/uaccess.h>
12 #include <asm/cacheflush.h>
13 #include <asm/tlbflush.h>
16 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
19 iounmap_atomic(void __iomem *kvaddr);
22 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
25 iomap_free(resource_size_t base, unsigned long size);
27 #endif /* _ASM_X86_IOMAP_H */