summaryrefslogtreecommitdiffstats
path: root/include/linux/highmem.h
diff options
context:
space:
mode:
authorNate Diller <nate.diller@gmail.com>2007-05-09 02:35:09 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 12:30:56 -0700
commitf37bc2712b54ec641e0c0c8634f1a4b61d9956c0 (patch)
tree0b73fd72a74115922e8e88bd56667c04b9299767 /include/linux/highmem.h
parentf2fff596955867d407cc7e8e426097bd9ad2be9b (diff)
downloadop-kernel-dev-f37bc2712b54ec641e0c0c8634f1a4b61d9956c0.zip
op-kernel-dev-f37bc2712b54ec641e0c0c8634f1a4b61d9956c0.tar.gz
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 <nate.diller@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/highmem.h')
-rw-r--r--include/linux/highmem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/highmem.h b/include/linux/highmem.h
index b5f2ab4..98e2cce 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);
OpenPOWER on IntegriCloud