]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
vmalloc: clean up page array indexing
authorChristoph Lameter <clameter@sgi.com>
Tue, 5 Feb 2008 06:28:34 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:14 +0000 (09:44 -0800)
commitbf53d6f8fa467397a16de2a2500312ae26528d34
tree5fe5fb6e7e4835d358dcc67e7b38f1aa00b9e525
parent9e2779fa281cfda13ac060753d674bbcaa23367e
vmalloc: clean up page array indexing

The page array is repeatedly indexed both in vunmap and vmalloc_area_node().
Add a temporary variable to make it easier to read (and easier to patch
later).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c