Re: [PATCH] mm: break circular include from linux/mmzone.h

From: li guang
Date: Tue Feb 05 2013 - 00:58:07 EST


å 2013-02-04äç 21:20 -0800ïDavid Rientjesåéï
> On Tue, 5 Feb 2013, liguang wrote:
>
> > linux/mmzone.h included linux/memory_hotplug.h,
> > and linux/memory_hotplug.h also included
> > linux/mmzone.h, so there's a bad cirlular.
> >
>
> And both of these are protected by _LINUX_MMZONE_H and
> __LINUX_MEMORY_HOTPLUG_H, respectively, so what's the problem?

obviously, It's a logical error,
and It has no more effect other than
combination of these 2 header files.
so, why don't we separate them?





--
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/