Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 1996 12:17:09 -0800
From:      Erich Boleyn <erich@uruk.org>
To:        Peter Wemm <peter@freefall.freebsd.org>
Cc:        smp@freebsd.org
Subject:   Re: cvs commit: sys/kern init_main.c 
Message-ID:  <E0vTvqX-0008HG-00@uruk.org>
In-Reply-To: Your message of "Sat, 30 Nov 1996 11:15:44 PST." <199611301915.LAA02128@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Wemm <peter@freefall.freebsd.org> writes:

> peter       96/11/30 11:15:43
> 
>   Modified:    kern      init_main.c
>   Log:
>   Fix boot race noted by Steve a few days ago.  The AP's are unlocked in
>   random order, this code could freeze a freshly started cpu before it
>   gets a chance to finish coming online.  *blush*.
>   
>   This should fix part of Erich's problem, I hope..  (I'm 95% asleep at
>   the moment)
>   
>   Revision  Changes    Path
>   1.36      +2 -3      sys/kern/init_main.c

There is a small typo in the above change.  The obvious fix was the
following (hopefully this is what you intended):

-------------------------(start cvs diff)----------------------------------
Index: sys/kern/init_main.c
===================================================================
RCS file: /usr/cvssup/sys/kern/init_main.c,v
retrieving revision 1.36
diff -r1.36 init_main.c
792c792
< 		smp_active = mp_ncpu;
---
> 		smp_active = mp_ncpus;
--------------------------(end cvs diff)-----------------------------------

--
  Erich Stefan Boleyn                 \_ E-mail (preferred):  <erich@uruk.org>
Mad Genius wanna-be, CyberMuffin        \__      (finger me for other stats)
Web:  http://www.uruk.org/~erich/     Motto: "I'll live forever or die trying"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0vTvqX-0008HG-00>