提交 f37bc271 编写于 作者: N Nate Diller 提交者: Linus Torvalds

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: NNate Diller <nate.diller@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f2fff596
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册