Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Dec 1996 08:51:15 -0800
From:      Erich Boleyn <erich@uruk.org>
To:        smp@freebsd.org
Subject:   Greater than 2 CPUs...  problem with my diff
Message-ID:  <E0vVKXT-0002A3-00@uruk.org>

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

I just realized the diff I just sent was conceptually wrong (though it
would probably work for all existing machines, and worked fine for mine).
The real diff I should have sent for mp_machdep.c is included here, so
please use that instead!

-----------------(start cvs diff sys/i386/i386/mp_machdep.c)-----------------
Index: sys/i386/i386/mp_machdep.c
===================================================================
RCS file: /usr/cvssup/sys/i386/i386/mp_machdep.c,v
retrieving revision 1.28
diff -r1.28 mp_machdep.c
778c778,779
< 	/* add another AP to list */
---
> 	/* add another AP to list, if less than max number of CPUs */
> 	if ( x == (NCPU-1) ) return;
780,783d780
< 	if ( x == NCPU ) {
< 	    printf( "too many CPUs, increase 'NCPU'\n" );
< 	    panic( "\n" );
< 	}
------------------(end cvs diff sys/i386/i386/mp_machdep.c)------------------

--
  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?E0vVKXT-0002A3-00>