Skip to content

Commit

Permalink
fs: deprecate memclear_highpage_flush
Browse files Browse the repository at this point in the history
Now that all the in-tree users are converted over to zero_user_page(),
deprecate the old memclear_highpage_flush() call.

Signed-off-by: Nate Diller <nate.diller@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
typherno authored and Linus Torvalds committed May 9, 2007
1 parent f2fff59 commit f37bc27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/highmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f37bc27

Please sign in to comment.