Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2007 00:28:31 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 128800 for review
Message-ID:  <200711080028.lA80SVDX060057@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=128800

Change 128800 by peter@peter_daintree on 2007/11/08 00:28:17

	Point the pcpu area to the actual area, not the address of the pcpu area
	on the stack.  oops.

Affected files ...

.. //depot/projects/hammer/sys/i386/i386/mp_machdep.c#69 edit

Differences ...

==== //depot/projects/hammer/sys/i386/i386/mp_machdep.c#69 (text+ko) ====

@@ -512,7 +512,7 @@
 	pc->pc_prvspace = pc;
 	pc->pc_curthread = 0;
 
-	gdt_segs[GPRIV_SEL].ssd_base = (int) &pc;
+	gdt_segs[GPRIV_SEL].ssd_base = (int) pc;
 	gdt_segs[GPROC0_SEL].ssd_base = (int) &pc->pc_common_tss;
 
 	for (x = 0; x < NGDT; x++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711080028.lA80SVDX060057>