[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070514081020.DAC98DDEE3@ozlabs.org>
Date: Mon, 14 May 2007 18:09:52 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: <linux-kernel@...r.kernel.org>
Subject: [PATCH] Make __vunmap static
__vunmap doesn't seem to be used outside of mm/vmalloc.c, and has
no prototype in any header so let's make it static
Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
mm/vmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-cell/mm/vmalloc.c
===================================================================
--- linux-cell.orig/mm/vmalloc.c 2007-05-14 18:04:48.000000000 +1000
+++ linux-cell/mm/vmalloc.c 2007-05-14 18:04:50.000000000 +1000
@@ -311,7 +311,7 @@ struct vm_struct *remove_vm_area(void *a
return v;
}
-void __vunmap(void *addr, int deallocate_pages)
+static void __vunmap(void *addr, int deallocate_pages)
{
struct vm_struct *area;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists