]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm, highmem: get virtual address of the page using PKMAP_ADDR()
authorJoonsoo Kim <js1304@gmail.com>
Sat, 3 Nov 2012 00:42:23 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Nov 2012 04:15:12 +0000 (15:15 +1100)
commit451c64105f8ff96715401ecfae37eda8415434df
tree3172d10a83f97b3352f9bde7116ef05f151c8111
parentbb6a1a357583294084cc1a4a1d9883061a777f98
mm, highmem: get virtual address of the page using PKMAP_ADDR()

In flush_all_zero_pkmaps(), we have an index of the pkmap associated with
the page.  Using this index, we can simply get virtual address of the
page.  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