diff options
author | Will Deacon <will.deacon@arm.com> | 2012-10-19 14:03:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:18:18 -0800 |
commit | 4a8d5b926259721cf7b931967b8e3f9e3936c2d7 (patch) | |
tree | 3f33b35bbe79ce726b15bf2a9d737dd51973c7d0 /mm | |
parent | 2dfc7a391af637b6a820c0ded3964c2b9efd417f (diff) | |
download | lwn-4a8d5b926259721cf7b931967b8e3f9e3936c2d7.tar.gz lwn-4a8d5b926259721cf7b931967b8e3f9e3936c2d7.zip |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/highmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/highmem.c b/mm/highmem.c index 2da13a5c50e2..09fc744d104e 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -105,6 +105,7 @@ struct page *kmap_to_page(void *vaddr) return virt_to_page(addr); } +EXPORT_SYMBOL(kmap_to_page); static void flush_all_zero_pkmaps(void) { |