PERFORCE change 128800 for review

Peter Wemm peter at FreeBSD.org
Wed Nov 7 16:28:32 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=128800

Change 128800 by peter at 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++) {


More information about the p4-projects mailing list