Re: [PATCH 1/2] memblock: add error return when CONFIG_HAVE_MEMBLOCKis not set
From: Yinghai Lu
Date: Thu Mar 31 2011 - 12:17:12 EST
On Thu, Mar 31, 2011 at 8:23 AM, Mike Travis <travis@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/