lkml.org 
[lkml]   [2003]   [Sep]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 8 Sep 2003 00:40:17 -0400 (EDT)
FromZwane Mwaikambo <>
Subject[PATCH][2.6] declare __get_vm_area in vmalloc.h
  CC      arch/arm/kernel/module.o
arch/arm/kernel/module.c: In function `module_alloc':
arch/arm/kernel/module.c:32: warning: implicit declaration of function `__get_vm_area'
arch/arm/kernel/module.c:32: warning: assignment makes pointer from integer without a cast

Index: linux-2.6.0-test4-mm6-arm/include/linux/vmalloc.h
===================================================================
RCS file: /build/cvsroot/linux-2.6.0-test4-mm6/include/linux/vmalloc.h,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 vmalloc.h
--- linux-2.6.0-test4-mm6-arm/include/linux/vmalloc.h	7 Sep 2003 20:27:52 -0000	1.1.1.1
+++ linux-2.6.0-test4-mm6-arm/include/linux/vmalloc.h	8 Sep 2003 03:43:06 -0000
@@ -35,6 +35,8 @@ extern void vunmap(void *addr);
  *	Lowlevel-APIs (not for driver use!)
  */
 extern struct vm_struct *get_vm_area(unsigned long size, unsigned long flags);
+extern struct vm_struct *__get_vm_area(unsigned long size, unsigned long flags,
+					unsigned long start, unsigned long end);
 extern struct vm_struct *remove_vm_area(void *addr);
 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
 			struct page ***pages);
-
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:48    [from the cache]
©2003-2008