Commit 926e38c6 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-33447 fixes for ppc64le

followup for 3f9f5ca4
parent 52529a52
...@@ -103,7 +103,7 @@ const pmem_control pmem; ...@@ -103,7 +103,7 @@ const pmem_control pmem;
#else #else
void pmem_persist(const void *buf, size_t size) void pmem_persist(const void *buf, size_t size)
{ {
# ifdef __ppc64__ # ifdef __PPC__
for (uintptr_t u= uintptr_t(buf) & ~(CPU_LEVEL1_DCACHE_LINESIZE), for (uintptr_t u= uintptr_t(buf) & ~(CPU_LEVEL1_DCACHE_LINESIZE),
end= uintptr_t(buf) + size; end= uintptr_t(buf) + size;
u < end; u+= CPU_LEVEL1_DCACHE_LINESIZE) u < end; u+= CPU_LEVEL1_DCACHE_LINESIZE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment