Re: mmots: memory-hotplug: implement register_page_bootmem_info_sectionof sparse-vmemmap fix

From: Lin Feng
Date: Fri Jan 11 2013 - 06:09:42 EST


Hi Michal,

On 01/11/2013 06:47 PM, Michal Hocko wrote:
> Signed-off-by: Michal Hocko <mhocko@xxxxxxx>
> ---
> arch/x86/mm/init_64.c | 3 +++
> include/linux/mm.h | 2 ++
> 2 files changed, 5 insertions(+)
>
> diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
> index ddd3b58..d8edf52 100644
> --- a/arch/x86/mm/init_64.c
> +++ b/arch/x86/mm/init_64.c
> @@ -32,6 +32,7 @@
> #include <linux/memory_hotplug.h>
linux/memory_hotplug.h has already been included here.

I think it's OK to add add the missing CONFIG option or move
the memory-hotlug related complaint code into the CONFIG span.

thanks,
linfeng
> #include <linux/nmi.h>
> #include <linux/gfp.h>
> +#include <linux/memory_hotplug.h>
--
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/