OSDN Git Service

nds32: Flush the cache of the page at vmaddr instead of kaddr in flush_anon_page
authorVincent Chen <vincentc@andestech.com>
Mon, 14 May 2018 08:56:53 +0000 (16:56 +0800)
committerGreentime Hu <greentime@andestech.com>
Wed, 23 May 2018 05:26:22 +0000 (13:26 +0800)
commit5b9f95699b2166e06b7d7820c8173fdbff0ddf35
tree1694110e55a861e35815d22ab84cc91076498243
parentefcc4ea872edaeded28245d9b2ca8b9d8181b7cf
nds32: Flush the cache of the page at vmaddr instead of kaddr in flush_anon_page

According to Documentation/cachetlb.txt, the cache of the page at vmaddr
shall be flushed in flush_anon_page instead of the cache of the page at
page_address(page).

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Reviewed-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/mm/cacheflush.c