]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, highmem: use PKMAP_NR() to calculate an index of pkmap
authorJoonsoo Kim <js1304@gmail.com>
Sat, 3 Nov 2012 00:42:21 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:36 +0000 (15:08 +1100)
commit52d2a32ab67af34a284f00fe589c0894eae86c96
tree4d69ee4bd3add3f12e0602e60312ddbb54d58ea4
parent0884a9da412ee452a41180e9a34413255a09467f
mm, highmem: use PKMAP_NR() to calculate an index of pkmap

To calculate an index of pkmap, using PKMAP_NR() is more understandable
and maintainable, so change it.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/highmem.c