mm: highmem: export kmap_to_page for modules
authorWill Deacon <will.deacon@arm.com>
Fri, 19 Oct 2012 13:03:31 +0000 (14:03 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:32:57 +0000 (03:32 +0000)
commit8bc528cece6bc1adf4524eaab7bb82aa66438c4a
treea788fc706d90d1a4d646eb7cfe475966e9b303c8
parentfcb8996728fb59eddf84678df7cb213b2c9a2e26
mm: highmem: export kmap_to_page for modules

commit f0263d2d222e9e25f2587e51a9dc58c6fb2a9352 upstream.

Some virtio device drivers (9p) need to translate high virtual addresses
to physical addresses, which are inserted into the virtqueue for
processing by userspace.

This patch exports the kmap_to_page symbol, so that the affected drivers
can be compiled as modules.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
mm/highmem.c