]> 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>
Fri, 9 Nov 2012 03:04:06 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Nov 2012 03:08:36 +0000 (14:08 +1100)
commit853dc479e7120fab4423417eadf4bc6ff9caeaee
treed62d1c4c8f18edc2fdea01ba420e3e3fb93e9783
parentd59ed4578fce4d09cbcbcb33d7672d0d2d10deb1
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