Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932212AbVKOAai (ORCPT ); Mon, 14 Nov 2005 19:30:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932213AbVKOAai (ORCPT ); Mon, 14 Nov 2005 19:30:38 -0500 Received: from e6.ny.us.ibm.com ([32.97.182.146]:64190 "EHLO e6.ny.us.ibm.com") by vger.kernel.org with ESMTP id S932212AbVKOAah (ORCPT ); Mon, 14 Nov 2005 19:30:37 -0500 Date: Mon, 14 Nov 2005 16:30:31 -0800 From: mike kravetz To: Andrew Morton Cc: Andy Whitcroft , haveblue@us.ibm.com, lhms-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] register_ and unregister_memory_notifier should be global Message-ID: <20051115003031.GA19640@w-mikek2.ibm.com> References: <20051114193738.GA15494@shadowen.org> <20051114152316.4060d30c.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051114152316.4060d30c.akpm@osdl.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 759 Lines: 19 On Mon, Nov 14, 2005 at 03:23:16PM -0800, Andrew Morton wrote: > Andy Whitcroft wrote: > > > > Both register_memory_notifer and unregister_memory_notifier are global > > and declared so in linux.h. Update the HOTPLUG specific definitions > > to match. This fixes a compile warning when HOTPLUG is enabled. > > There is no linux.h and I can find no .h file which declares > register_memory_notifier(). Please clarify? I'm pretty sure Andy meant to say not linux.h. -- Mike - 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/