csky: fixup abiv2 mmap(... O_SYNC) failed.
Glibc function mmap(... O_SYNC) will make page to _PAGE_UNCACHE + _PAGE_SO and strong-order page couldn't support unalignment access. So remove _PAGE_SO from _PAGE_UNCACHE, also sync abiv1 with the macro of _PAGE_SO. Signed-off-by:Guo Ren <ren_guo@c-sky.com> Reported-by:
Liu Renwei <Renwei.Liu@verisilicon.com> Tested-by:
Yuan Qiyun <qiyun_yuan@c-sky.com>
parent
d770b256
Please register or sign in to comment