summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sb.bsdonline.org>2002-08-06 01:05:30 +0200
committerChristoph Hellwig <hch@sb.bsdonline.org>2002-08-06 01:05:30 +0200
commitd24919a7fbc635bea6ecc267058dcdbadf03f565 (patch)
tree356580dba16023203e012743b482d46517c1f4ee /kernel
parent35aa61ec011d8712717362550cd0008bcc7d99e8 (diff)
VM: Rework vmalloc code to support mapping of arbitray pages
The vmalloc operation is split into two pieces: allocate the backing pages and map them into the kernel page tabels for virtually contingous access. (Same for vfree). A new set of interfaces, vmap & vunmap does only the second part and thus allows mapping arbitray pages into kernel virtual memory. The vmalloc.c internals have been completly overhauled to support this, but the exported interfaces are unchanged.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/ksyms.c b/kernel/ksyms.c
index 006e1832a02e..ce387117ba18 100644
--- a/kernel/ksyms.c
+++ b/kernel/ksyms.c
@@ -109,6 +109,8 @@ EXPORT_SYMBOL(vfree);
EXPORT_SYMBOL(__vmalloc);
EXPORT_SYMBOL(vmalloc);
EXPORT_SYMBOL(vmalloc_32);
+EXPORT_SYMBOL(vmap);
+EXPORT_SYMBOL(vunmap);
EXPORT_SYMBOL(vmalloc_to_page);
EXPORT_SYMBOL(mem_map);
EXPORT_SYMBOL(remap_page_range);