lkml.org 
[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] Add __vunmap prototype
__vunmap is not static but I couldn't find a prototype for it, so this
adds it. I need to use it in some powerpc patch to come.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

include/linux/vmalloc.h | 1 +
1 file changed, 1 insertion(+)

Index: linux-cell/include/linux/vmalloc.h
===================================================================
--- linux-cell.orig/include/linux/vmalloc.h 2007-05-14 16:03:42.000000000 +1000
+++ linux-cell/include/linux/vmalloc.h 2007-05-14 16:03:47.000000000 +1000
@@ -50,6 +50,7 @@ extern void vfree(void *addr);
extern void *vmap(struct page **pages, unsigned int count,
unsigned long flags, pgprot_t prot);
extern void vunmap(void *addr);
+extern void __vunmap(void *addr, int deallocate_pages);

extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
unsigned long pgoff);
-
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: 2007-05-14 09:11    [W:0.028 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site