mm: add kmap_to_page()
authorBen Hutchings <ben@decadent.org.uk>
Tue, 31 Jul 2012 23:45:02 +0000 (16:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jun 2014 19:04:17 +0000 (12:04 -0700)
commit7e4d02fdb2bb0f47405a0961a7f3991a56b5981b
tree5daed7ed40bcc14e59a6ec0e19d88fcd087ffd19
parent984ca88a55ccf51d4eeef67ce2247c58694a2dc5
mm: add kmap_to_page()

commit fcb8996728fb59eddf84678df7cb213b2c9a2e26 upstream.

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>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/highmem.h
mm/highmem.c