Messages in this thread | | | Date | Wed, 11 Jan 2006 19:59:58 +0000 | From | Pavel Machek <> | Subject | Re: [patch 1/2] add __meminit for memory hotplug |
| |
On Mon 09-01-06 10:19:30, Matt Tolentino wrote: > Add __meminit to the __init lineup to ensure functions default > to __init when memory hotplug is not enabled. Replace __devinit > with __meminit on functions that were changed when the memory > hotplug code was introduced. > > diff -urNp linux-2.6.15/include/linux/init.h linux-2.6.15-matt/include/linux/init.h > --- linux-2.6.15/include/linux/init.h 2006-01-02 22:21:10.000000000 -0500 > +++ linux-2.6.15-matt/include/linux/init.h 2006-01-06 11:04:10.000000000 -0500 > @@ -241,6 +241,18 @@ void __init parse_early_param(void); > #define __cpuexitdata __exitdata > #endif > > +#ifdef CONFIG_MEMORY_HOTPLUG > +#define __meminit > +#define __meminitdata > +#define __memexit > +#define __memexitdata
You should document these...
-- Thanks, Sharp! - 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/
| |