diff options
-rw-r--r-- | mm/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memory.c b/mm/memory.c index b5a4aadd961a..156861fcac43 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -1452,6 +1452,7 @@ static inline void cow_user_page(struct page *dst, struct page *src, unsigned lo | |||
1452 | if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) | 1452 | if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) |
1453 | memset(kaddr, 0, PAGE_SIZE); | 1453 | memset(kaddr, 0, PAGE_SIZE); |
1454 | kunmap_atomic(kaddr, KM_USER0); | 1454 | kunmap_atomic(kaddr, KM_USER0); |
1455 | flush_dcache_page(dst); | ||
1455 | return; | 1456 | return; |
1456 | 1457 | ||
1457 | } | 1458 | } |