Re: 2.6.16.6 ( - 2.6.16.11 ) compile failure on an alpha

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

 



On Tue, Apr 25, 2006 at 08:53:40PM +0200, Jan-Benedict Glaw wrote:
> On Tue, 2006-04-25 11:29:25 +0100, Brian Uhrain <[email protected]> wrote:
> > ---
> >  arch/alpha/kernel/setup.c |   12 +++++++-----
> >  1 file changed, 7 insertions(+), 5 deletions(-)
> > 
> > --- linux-2.6.16.11.orig/arch/alpha/kernel/setup.c	2006-04-25 11:21:03.000000000 +0100
> > +++ linux-2.6.16.11/arch/alpha/kernel/setup.c	2006-04-25 11:22:56.557266608 +0100
> > @@ -483,11 +483,13 @@ register_cpus(void)
> >  {
> >  	int i;
> >  
> > -	for_each_possible_cpu(i) {
> > -		struct cpu *p = kzalloc(sizeof(*p), GFP_KERNEL);
> > -		if (!p)
> > -			return -ENOMEM;
> > -		register_cpu(p, i, NULL);
> > +	for (i = 0; i < NR_CPUS; i++) {
> 
> Nope.  Please implement for_each_possible_cpu(). A patch for that flew
> along right today.

Yes, that's the proper patch.  It's in my queue to add it to the -stable
queue :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux