diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 861f7982dd54..02e48aa0ed13 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2080,7 +2080,7 @@ static inline void cow_user_page(struct page *dst, struct page *src, unsigned lo | |||
2080 | * zeroes. | 2080 | * zeroes. |
2081 | */ | 2081 | */ |
2082 | if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) | 2082 | if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) |
2083 | memset(kaddr, 0, PAGE_SIZE); | 2083 | clear_page(kaddr); |
2084 | kunmap_atomic(kaddr, KM_USER0); | 2084 | kunmap_atomic(kaddr, KM_USER0); |
2085 | flush_dcache_page(dst); | 2085 | flush_dcache_page(dst); |
2086 | } else | 2086 | } else |