Merge tag 'v4.2-rc8' into x86/mm, before applying new changes
[linux-drm-fsl-dcu.git] / arch / x86 / include / asm / io.h
index de25aad0785389c399dd12c843ca2d4d2ff0d112..7cfc085b6879babbc47695352835852b4846e650 100644 (file)
@@ -250,6 +250,12 @@ static inline void flush_write_buffers(void)
 #endif
 }
 
+static inline void __pmem *arch_memremap_pmem(resource_size_t offset,
+       unsigned long size)
+{
+       return (void __force __pmem *) ioremap_cache(offset, size);
+}
+
 #endif /* __KERNEL__ */
 
 extern void native_io_delay(void);