for avoiding complex inclusion of headr file in the middle of another header
file.
Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]>
Index: devel-2.6.19/include/linux/mmzone.h
===
--- devel-2.6.19.orig/include/linux/mmzone.h2
On Fri, 8 Dec 2006 19:33:23 -0800
Andrew Morton <[EMAIL PROTECTED]> wrote:
> >
> > > Would prefer to unconditionally include the header file - conditional
> > > inclusions
> > > like this can cause compile failures when someone changes a config
> > > option. They
> > > generally raise the comp
On Sat, 9 Dec 2006 11:49:50 +0900
KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote:
> On Fri, 8 Dec 2006 16:30:20 -0800
> Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> > > +#ifdef CONFIG_SPARSEMEM_VMEMMAP_STATIC
> > > +#include
> > > +extern struct page mem_map[];
> > > +#else
> > > extern struct pag
On Fri, 8 Dec 2006 16:30:20 -0800
Andrew Morton <[EMAIL PROTECTED]> wrote:
> > +#ifdef CONFIG_SPARSEMEM_VMEMMAP_STATIC
> > +#include
> > +extern struct page mem_map[];
> > +#else
> > extern struct page* mem_map;
> > #endif
> > +#endif
>
> This looks rather unpleasant - what went wrong here?
>
On Fri, 8 Dec 2006 16:07:08 +0900
KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote:
> This patch adds support for statically allocated virtual mem_map.
> (means virtual address of mem_map array is defined statically.)
> This removes reference to *(&mem_map).
>
> Signed-Off-By: KAMEZAWA Hiroyuki <[EMAI
This patch adds support for statically allocated virtual mem_map.
(means virtual address of mem_map array is defined statically.)
This removes reference to *(&mem_map).
Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]>
Index: devel-2.6.19/include/linux/mmzone.h
===
6 matches
Mail list logo