mm: add kmap_to_page()
authorBen Hutchings <ben@decadent.org.uk>
Tue, 31 Jul 2012 23:45:02 +0000 (16:45 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:32:57 +0000 (03:32 +0000)
commitfcb8996728fb59eddf84678df7cb213b2c9a2e26
tree24e4c053d05194db2235cf872a5ef950e888c93b
parent26e5f795726ed11feff7125d727377a3eb231403
mm: add kmap_to_page()

This is extracted from Mel Gorman's commit 5a178119b0fb ('mm: add
support for direct_IO to highmem pages') upstream.

Required to backport commit b9cdc88df8e6 ('virtio: 9p: correctly pass
physical address to userspace for high pages').

Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/highmem.h
mm/highmem.c