Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2007 18:23:04 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 123922 for review
Message-ID:  <200707221823.l6MIN4Z5016933@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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