Messages in this thread | | | Date | Thu, 31 Mar 2011 09:17:05 -0700 | Subject | Re: [PATCH 1/2] memblock: add error return when CONFIG_HAVE_MEMBLOCK is not set | From | Yinghai Lu <> |
| |
On Thu, Mar 31, 2011 at 8:23 AM, Mike Travis <travis@sgi.com> wrote: > >> >> setup_log_buf will pass function pointer, So this one is not needed, >> right? > > The other function would need the #ifdef CONFIG_HAVE_MEMBLOCK before calling > memblock_alloc which I thought was the point of this patch? Note we still > have the last fallback of using alloc_boot_mem in kernel/init.c.
before that patch, it already use bootmem allocation.
So should be ok to drop this one.
Thanks
Yinghai -- 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/
| |