From: Christoph Lameter Date: Sat, 10 Feb 2007 09:43:03 +0000 (-0800) Subject: [PATCH] Drop free_pages() X-Git-Tag: v2.6.21-rc1~274^2~468 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96177299416dbccb73b54e6b344260154a445375;p=pandora-kernel.git [PATCH] Drop free_pages() nr_free_pages is now a simple access to a global variable. Make it a macro instead of a function. The nr_free_pages now requires vmstat.h to be included. There is one occurrence in power management where we need to add the include. Directly refrer to global_page_state() there to clarify why the #include was added. [akpm@osdl.org: arm build fix] [akpm@osdl.org: sparc64 build fix] Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed