]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/x86/include/asm/iomap.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
[mirror_ubuntu-hirsute-kernel.git] / arch / x86 / include / asm / iomap.h
CommitLineData
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>
12#include <asm/cacheflush.h>
13#include <asm/pgtable.h>
14#include <asm/tlbflush.h>
15
cc1a8e52 16void __iomem *
3e4d3af5 17iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
fd940934
KP
18
19void
3e4d3af5 20iounmap_atomic(void __iomem *kvaddr);
bf293c17 21
9e36fda0
VP
22int
23iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
24
25void
26iomap_free(resource_size_t base, unsigned long size);
27
bf293c17 28#endif /* _ASM_X86_IOMAP_H */