From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 23E0A60080B for ; Mon, 19 Jul 2010 23:56:28 -0400 (EDT) Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e9.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o6K3e3tS028885 for ; Mon, 19 Jul 2010 23:40:03 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o6K3uMDO393636 for ; Mon, 19 Jul 2010 23:56:22 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o6K3uLCU010457 for ; Mon, 19 Jul 2010 23:56:21 -0400 Message-ID: <4C451E60.8080702@austin.ibm.com> Date: Mon, 19 Jul 2010 22:56:16 -0500 From: Nathan Fontenot MIME-Version: 1.0 Subject: [PATCH 5/8] v3 Update the find_memory_block declaration References: <4C451BF5.50304@austin.ibm.com> In-Reply-To: <4C451BF5.50304@austin.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@ozlabs.org Cc: KAMEZAWA Hiroyuki , greg@kroah.com List-ID: Update the find_memory_block declaration to to take a struct mem_section * so that it matches the definition. Signed-off-by: Nathan Fontenot --- include/linux/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/include/linux/memory.h =================================================================== --- linux-2.6.orig/include/linux/memory.h 2010-07-19 21:10:28.000000000 -0500 +++ linux-2.6/include/linux/memory.h 2010-07-19 21:12:46.000000000 -0500 @@ -116,7 +116,7 @@ extern int memory_dev_init(void); extern int remove_memory_block(unsigned long, struct mem_section *, int); extern int memory_notify(unsigned long val, void *v); extern int memory_isolate_notify(unsigned long val, void *v); -extern struct memory_block *find_memory_block(unsigned long); +extern struct memory_block *find_memory_block(struct mem_section *); extern int memory_is_hidden(struct mem_section *); #define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION< email@kvack.org