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
Subject[PATCH] Unresolved symbol - vmalloc
Several modules reference vmalloc and it's no longer an inline,
so I think it needs to be exported. Please tell me if I'm wrong.


diff -ruN linux/mm/Makefile lin/mm/Makefile
--- linux/mm/Makefile Sun Jun 9 05:53:08 2002
+++ lin/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 linux/mm/vmalloc.c lin/mm/vmalloc.c
--- linux/mm/vmalloc.c Sun Jun 9 05:53:01 2002
+++ lin/mm/vmalloc.c Sun Jun 9 05:52:17 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,5 @@
read_unlock(&vmlist_lock);
return buf - buf_start;
}
+
+EXPORT_SYMBOL(vmalloc);
--
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.027 / U:4.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site