]> 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>
Tue, 13 Nov 2012 05:15:24 +0000 (16:15 +1100)
commit7febe45ed79b626921ca5a653380d70da984a239
tree833a4ea6882433531ade3a52c8567acdbfdb0391
parent313dfb42f5f9882c29424840c0b58bd1c0b33173
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