OSDN Git Service

Merge tag 'v4.2-rc8' into x86/mm, before applying new changes
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / arch / x86 / include / asm / io.h
index de25aad..7cfc085 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);