Re: [Linux-ia64] Can't boot in SMP with kernel 2.5.50 ia64

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2002-12-20 07:40:46
>>>>> On Thu, 19 Dec 2002 08:53:06 +0100 (NFT), Xavier Bru  <Xavier.Bru@bull.net> said:

  Xavier> Hello,

  Xavier> Booting 2.5.50 with David's patch, it seems we can't boot in
  Xavier> SMP on an ia64 machine. We get the message: SMP mode
  Xavier> deactivated.  Problem is due to smp_prepare_cpus() declaring
  Xavier> max_cpus as "unsigned int" and testing against the -1 value.
  Xavier> Problem was not seen in 2.5.45 because max_cpus was
  Xavier> initialized to UINT_MAX.

I think the test in smp_prepare_cpus() is bogus.  I changed it to test
just against 0 (as is done in the x86 version of smpboot.c).

	--david
Received on Thu Dec 19 12:42:32 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST