fs: deprecate memclear_highpage_flush
authorNate Diller <nate.diller@gmail.com>
Wed, 9 May 2007 09:35:09 +0000 (02:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:56 +0000 (12:30 -0700)
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>
include/linux/highmem.h

index b5f2ab42d9842ce4b6303ace53f1d5efe8eca319..98e2cce996a4c1867543ffa03d83c66c3c8846de 100644 (file)
@@ -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);