2002-06-10 02:28:41

by Anton Altaparmakov

[permalink] [raw]
Subject: [PATCH-2.5.21] Fix/add exports for vmalloc, vmalloc_32, vmalloc_dma

Linus,

Please apply below patchlet which adds exports for vmalloc, vmalloc_32,
and vmalloc_dma to kernel/ksyms.c.

These are needed as the above functions used to be static inline inside
include/linux/vmalloc.h but have now been taken out of line and now
all modular code using them is broken.

I noticed because NTFS uses vmalloc to allocate decompression engine
buffers.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/

---vmalloc-export.diff---
--- tng/kernel/ksyms.c.old Mon Jun 10 03:19:58 2002
+++ tng/kernel/ksyms.c Mon Jun 10 03:21:18 2002
@@ -108,6 +108,9 @@ EXPORT_SYMBOL(kmalloc);
EXPORT_SYMBOL(kfree);
EXPORT_SYMBOL(vfree);
EXPORT_SYMBOL(__vmalloc);
+EXPORT_SYMBOL(vmalloc);
+EXPORT_SYMBOL(vmalloc_dma);
+EXPORT_SYMBOL(vmalloc_32);
EXPORT_SYMBOL(vmalloc_to_page);
EXPORT_SYMBOL(mem_map);
EXPORT_SYMBOL(remap_page_range);