From: Nate Diller Date: Wed, 9 May 2007 09:35:09 +0000 (-0700) Subject: fs: deprecate memclear_highpage_flush X-Git-Tag: MMI-PSA29.97-13-9~43321 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f37bc2712b54ec641e0c0c8634f1a4b61d9956c0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Nate Diller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/highmem.h b/include/linux/highmem.h index b5f2ab42d984..98e2cce996a4 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -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);