Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750955AbWIZJnY (ORCPT ); Tue, 26 Sep 2006 05:43:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750981AbWIZJnY (ORCPT ); Tue, 26 Sep 2006 05:43:24 -0400 Received: from mail.sf-mail.de ([62.27.20.61]:1746 "EHLO mail.sf-mail.de") by vger.kernel.org with ESMTP id S1750955AbWIZJnX (ORCPT ); Tue, 26 Sep 2006 05:43:23 -0400 From: Rolf Eike Beer To: linux-mm@kvack.org Subject: [PATCH] Mark __remove_vm_area() static Date: Tue, 26 Sep 2006 11:43:50 +0200 User-Agent: KMail/1.9.4 Cc: linux-kernel@vger.kernel.org, akpm@osdl.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609261143.51105.eike-kernel@sf-tec.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1778 Lines: 46 The function is exported but not used from anywhere else. It's also marked as "not for driver use" so noone out there should really care. Signed-off-by: Rolf Eike Beer --- commit 1d88bdc56807cccf598d8b92fb98ddf03f3a42db tree 72c6525b019b9102c14778141ed1f236d7ebe331 parent 8322f0cb8a117fe42e993d48f5ae0fbc006f8ef0 author Rolf Eike Beer Tue, 26 Sep 2006 11:41:42 +0200 committer Rolf Eike Beer Tue, 26 Sep 2006 11:41:42 +0200 include/linux/vmalloc.h | 1 - mm/vmalloc.c | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index 71b6363..dc6f55e 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -64,7 +64,6 @@ extern struct vm_struct *__get_vm_area(u extern struct vm_struct *get_vm_area_node(unsigned long size, unsigned long flags, int node); extern struct vm_struct *remove_vm_area(void *addr); -extern struct vm_struct *__remove_vm_area(void *addr); extern int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages); extern void unmap_vm_area(struct vm_struct *area); diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3ac7c03..44fb4ca 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -269,7 +269,7 @@ static struct vm_struct *__find_vm_area( } /* Caller must hold vmlist_lock */ -struct vm_struct *__remove_vm_area(void *addr) +static struct vm_struct *__remove_vm_area(void *addr) { struct vm_struct **p, *tmp; - 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/