Commit | Line | Data |
---|---|---|
1a59d1b8 | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
bf293c17 RLB |
2 | #ifndef _ASM_X86_IOMAP_H |
3 | #define _ASM_X86_IOMAP_H | |
4 | ||
fd940934 KP |
5 | /* |
6 | * Copyright © 2008 Ingo Molnar | |
fd940934 KP |
7 | */ |
8 | ||
9 | #include <linux/fs.h> | |
10 | #include <linux/mm.h> | |
11 | #include <linux/uaccess.h> | |
157e118b | 12 | #include <linux/highmem.h> |
fd940934 | 13 | #include <asm/cacheflush.h> |
fd940934 KP |
14 | #include <asm/tlbflush.h> |
15 | ||
351191ad | 16 | void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot); |
bf293c17 | 17 | |
157e118b | 18 | int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot); |
9e36fda0 | 19 | |
157e118b | 20 | void iomap_free(resource_size_t base, unsigned long size); |
9e36fda0 | 21 | |
bf293c17 | 22 | #endif /* _ASM_X86_IOMAP_H */ |