mm, highmem: use PKMAP_NR() to calculate an index of pkmap
authorJoonsoo Kim <js1304@gmail.com>
Wed, 12 Dec 2012 00:01:17 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:24 +0000 (17:22 -0800)
commit4de22c0584fb0566487b2cba5cdfbce346b18402
treed70da2627db4524c23c6338a5ee65e9758376420
parent6555bc035731eab76c0901925034465d3ad2099c
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/highmem.c