Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f37bc271 authored by Nate Diller's avatar Nate Diller Committed by Linus Torvalds
Browse files

fs: deprecate memclear_highpage_flush



Now that all the in-tree users are converted over to zero_user_page(),
deprecate the old memclear_highpage_flush() call.

Signed-off-by: default avatarNate Diller <nate.diller@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f2fff596
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -110,8 +110,7 @@ static inline void clear_highpage(struct page *page)
		kunmap_atomic(kaddr, (km_type));		\
	} while (0)


static inline void memclear_highpage_flush(struct page *page,
static inline void __deprecated memclear_highpage_flush(struct page *page,
			unsigned int offset, unsigned int size)
{
	zero_user_page(page, offset, size, KM_USER0);