|
@@ -31,11 +31,6 @@ static inline void arch_memcpy_to_pmem(void *dst, const void *src, size_t n)
|
|
|
BUG();
|
|
|
}
|
|
|
|
|
|
-static inline void arch_wb_cache_pmem(void *addr, size_t size)
|
|
|
-{
|
|
|
- BUG();
|
|
|
-}
|
|
|
-
|
|
|
static inline void arch_invalidate_pmem(void *addr, size_t size)
|
|
|
{
|
|
|
BUG();
|
|
@@ -80,18 +75,4 @@ static inline void invalidate_pmem(void *addr, size_t size)
|
|
|
if (arch_has_pmem_api())
|
|
|
arch_invalidate_pmem(addr, size);
|
|
|
}
|
|
|
-
|
|
|
-/**
|
|
|
- * wb_cache_pmem - write back processor cache for PMEM memory range
|
|
|
- * @addr: virtual start address
|
|
|
- * @size: number of bytes to write back
|
|
|
- *
|
|
|
- * Write back the processor cache range starting at 'addr' for 'size' bytes.
|
|
|
- * See blkdev_issue_flush() note for memcpy_to_pmem().
|
|
|
- */
|
|
|
-static inline void wb_cache_pmem(void *addr, size_t size)
|
|
|
-{
|
|
|
- if (arch_has_pmem_api())
|
|
|
- arch_wb_cache_pmem(addr, size);
|
|
|
-}
|
|
|
#endif /* __PMEM_H__ */
|