Skip to content
Commit 2b070ccd authored by Guo Ren's avatar Guo Ren
Browse files

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: default avatarGuo Ren <ren_guo@c-sky.com>
Reported-by: default avatarLiu Renwei <Renwei.Liu@verisilicon.com>
Tested-by: default avatarYuan Qiyun <qiyun_yuan@c-sky.com>
parent d770b256
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