diff options
author | Will Deacon <will.deacon@arm.com> | 2012-10-19 14:03:31 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-01-03 03:32:57 +0000 |
commit | 8bc528cece6bc1adf4524eaab7bb82aa66438c4a (patch) | |
tree | a788fc706d90d1a4d646eb7cfe475966e9b303c8 /mm/highmem.c | |
parent | fcb8996728fb59eddf84678df7cb213b2c9a2e26 (diff) |
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>
Diffstat (limited to 'mm/highmem.c')
-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 d517cd16a6eb..2a07f97dabf1 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) { |