proc: kpagecount/kpageflags code cleanup
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 16 Jun 2009 22:32:23 +0000 (15:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:36 +0000 (19:47 -0700)
commited7ce0f1022942301776f93159c981b09382ddea
treed81e98a13f6a10e6c258aa0f2bec990da40c5ac2
parent20a0307c0396c2edb651401d2f2db193dda2f3c9
proc: kpagecount/kpageflags code cleanup

Move increments of pfn/out to bottom of the loop.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Andi Kleen <andi@firstfloor.org>
Acked-by: Matt Mackall <mpm@selenic.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/page.c