]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Correct comment on truncate_inode_pages*() in linux/mm.h; and remove
authorHugh Dickins <hughd@google.com>
Sat, 16 Jul 2011 13:30:41 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:09 +0000 (15:04 +1000)
declaration of page_unuse(), it didn't exist even in 2.2.26 or 2.4.0!

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h

index 3b61c2fcb1be1f110c74a34c0ababd61b948b921..ba723229b786e00b014a7284e6ad295a16800924 100644 (file)
@@ -1409,8 +1409,7 @@ extern int do_munmap(struct mm_struct *, unsigned long, size_t);
 
 extern unsigned long do_brk(unsigned long, unsigned long);
 
-/* filemap.c */
-extern unsigned long page_unuse(struct page *);
+/* truncate.c */
 extern void truncate_inode_pages(struct address_space *, loff_t);
 extern void truncate_inode_pages_range(struct address_space *,
                                       loff_t lstart, loff_t lend);