]> git.karo-electronics.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>
Thu, 8 Nov 2012 04:08:37 +0000 (15:08 +1100)
commit95e65221aadee8e856ffa611e7b452b2daec9d79
tree14b3330926a6213cf28a9ae0ffc3b288e36de850
parent7264a39f17bbaa6cf58c8347e19344fe1409ccc4
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