commit | aaaaba57509526ce924f997d8690ee9e0c93945a | [log] [tgz] |
---|---|---|
author | Vincent Chen <vincentc@andestech.com> | Mon May 14 18:56:35 2018 +0800 |
committer | Greentime Hu <greentime@andestech.com> | Wed May 23 13:26:22 2018 +0800 |
tree | d91740ec7b04af9b924c205ccb8876dcb9c3f442 | |
parent | 5b9f95699b2166e06b7d7820c8173fdbff0ddf35 [diff] |
nds32: Disable local irq before calling cpu_dcache_wb_page in copy_user_highpage In order to ensure that all data in source page has been written back to memory before copy_page, the local irq shall be disabled before calling cpu_dcache_wb_page(). In addition, removing unneeded page invalidation for 'to' page. Signed-off-by: Vincent Chen <vincentc@andestech.com> Reviewed-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>