From owner-p4-projects@FreeBSD.ORG Sun Jul 22 18:23:05 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 033A816A417; Sun, 22 Jul 2007 18:23:04 +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 82ACD16A418 for ; Sun, 22 Jul 2007 18:23:04 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 785F213C45D for ; Sun, 22 Jul 2007 18:23:04 +0000 (UTC) (envelope-from gonzo@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 l6MIN4d0016936 for ; Sun, 22 Jul 2007 18:23:04 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6MIN4Z5016933 for perforce@freebsd.org; Sun, 22 Jul 2007 18:23:04 GMT (envelope-from gonzo@FreeBSD.org) Date: Sun, 22 Jul 2007 18:23:04 GMT Message-Id: <200707221823.l6MIN4Z5016933@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 123922 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: Sun, 22 Jul 2007 18:23:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=123922 Change 123922 by gonzo@gonzo_jeeves on 2007/07/22 18:22:04 o Use vm_offset_t as more appropriate type for memory address managment. Spotted by: Juli Mallett Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#16 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#16 (text+ko) ==== @@ -230,7 +230,7 @@ /* Stack pointer. Should be double-word aligned due to EABI */ td->td_pcb->pcb_regs[PCB_REG_SP] = - (register_t)((uint32_t)(td->td_frame - 1) & ~7); + (register_t)((vm_offset_t)(td->td_frame - 1) & ~7); } void