lkml.org 
[lkml]   [2002]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: r128.o unresolved symbol vmalloc_32
Duncan Sands wrote:
> linux-2.5.21:
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux-2.5.21/debian/tmp-image -r 2.5.21; fi
> depmod: *** Unresolved symbols in /usr/src/linux-2.5.21/debian/tmp-image/lib/modules/2.5.21/kernel/drivers/char/drm/r128.o
> depmod: vmalloc_32
> make[2]: *** [_modinst_post] Error 1

Here's an updated version of the patch I posted earlier. This one
also exports vmalloc_32 and vmalloc_dma.


diff -ruN lin/mm/Makefile linux/mm/Makefile
--- lin/mm/Makefile Sun Jun 9 05:53:08 2002
+++ linux/mm/Makefile Sun Jun 9 05:52:17 2002
@@ -10,7 +10,7 @@
O_TARGET := mm.o

export-objs := shmem.o filemap.o mempool.o page_alloc.o \
- page-writeback.o
+ page-writeback.o vmalloc.o

obj-y := memory.o mmap.o filemap.o mprotect.o mlock.o mremap.o \
vmalloc.o slab.o bootmem.o swap.o vmscan.o page_io.o \
diff -ruN lin/mm/vmalloc.c linux/mm/vmalloc.c
--- lin/mm/vmalloc.c Sun Jun 9 05:53:01 2002
+++ linux/mm/vmalloc.c Sun Jun 9 11:40:01 2002
@@ -8,6 +8,7 @@

#include <linux/config.h>
#include <linux/slab.h>
+#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/spinlock.h>
#include <linux/highmem.h>
@@ -354,3 +355,7 @@
read_unlock(&vmlist_lock);
return buf - buf_start;
}
+
+EXPORT_SYMBOL(vmalloc);
+EXPORT_SYMBOL(vmalloc_dma);
+EXPORT_SYMBOL(vmalloc_32);

--
Skip
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.022 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site