Re: [PATCH] fix size of zones_size and zholes_size array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 1 Oct 2006, Atsushi Nemoto wrote:

> > Nemoto~san, this was your patch earlier.
> > 
> >   void __init paging_init(void)
> >   {
> > -	unsigned long zones_size[MAX_NR_ZONES] = {0, 0, 0};
> > +	unsigned long zones_size[] = { [0 ... MAX_NR_ZONES - 1] = 0 };
> >   	unsigned long max_dma, high, low;
> > +#ifdef CONFIG_SPARSEMEM
> > +	unsigned long zholes_size[] = { [0 ... MAX_NR_ZONES - 1] = 0 };
> > +	unsigned long i, j, pfn;
> > +#endif
> 
> Yes.  This is correct.  And then there was a conflict on this commit.

Looks fine to me too. In that case you can drop the piece of my patch.


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux