Re: [PATCH 2/4] register_ and unregister_memory_notifier should beglobal

From: Andrew Morton
Date: Mon Nov 14 2005 - 20:17:17 EST


mike kravetz <kravetz@xxxxxxxxxx> wrote:
>
> On Mon, Nov 14, 2005 at 03:23:16PM -0800, Andrew Morton wrote:
> > Andy Whitcroft <apw@xxxxxxxxxxxx> 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 <linux/memory.h> not linux.h.
>

hm, OK, and I just lost my grep license. Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/