From: Nick Piggin Date: Wed, 22 Mar 2006 08:08:40 +0000 (-0800) Subject: [PATCH] remove set_page_count() outside mm/ X-Git-Tag: v2.6.17-rc1~1129^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7835e98b2e3c66dba79cb0ff8ebb90a2fe030c29;p=pandora-kernel.git [PATCH] remove set_page_count() outside mm/ set_page_count usage outside mm/ is limited to setting the refcount to 1. Remove set_page_count from outside mm/, and replace those users with init_page_count() and set_page_refcounted(). This allows more debug checking, and tighter control on how code is allowed to play around with page->_count. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed