xref: /OK3568_Linux_fs/kernel/arch/ia64/include/asm/early_ioremap.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _ASM_IA64_EARLY_IOREMAP_H
3*4882a593Smuzhiyun #define _ASM_IA64_EARLY_IOREMAP_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size);
6*4882a593Smuzhiyun #define early_memremap(phys_addr, size)        early_ioremap(phys_addr, size)
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun extern void early_iounmap (volatile void __iomem *addr, unsigned long size);
9*4882a593Smuzhiyun #define early_memunmap(addr, size)             early_iounmap(addr, size)
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #endif
12