]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:18:18 +0000 (09:18 -0800)
commit4a8d5b926259721cf7b931967b8e3f9e3936c2d7
tree3f33b35bbe79ce726b15bf2a9d737dd51973c7d0
parent2dfc7a391af637b6a820c0ded3964c2b9efd417f
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/highmem.c