From owner-p4-projects@FreeBSD.ORG Thu Nov 8 00:28:32 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 54AA016A468; Thu, 8 Nov 2007 00:28:32 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBD5116A41B for ; Thu, 8 Nov 2007 00:28:31 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A90CC13C48E for ; Thu, 8 Nov 2007 00:28:31 +0000 (UTC) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA80SVHW060060 for ; Thu, 8 Nov 2007 00:28:31 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA80SVDX060057 for perforce@freebsd.org; Thu, 8 Nov 2007 00:28:31 GMT (envelope-from peter@freebsd.org) Date: Thu, 8 Nov 2007 00:28:31 GMT Message-Id: <200711080028.lA80SVDX060057@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Cc: Subject: PERFORCE change 128800 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 00:28:32 -0000 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++) {