commit | 2b070ccdf8c020fb6c4911263852c021d8aa843c | [log] [tgz] |
---|---|---|
author | Guo Ren <ren_guo@c-sky.com> | Sun Dec 30 21:47:28 2018 +0800 |
committer | Guo Ren <ren_guo@c-sky.com> | Mon Dec 31 10:56:45 2018 +0800 |
tree | d4c06e8cb2eabaf8141eeb8fb1130d5651edd5bf | |
parent | d770b25653447b4c57303859e2ac04ebe9318f8e [diff] |
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>