svn commit: r198205 - projects/mips/sys/mips/mips

Warner Losh imp at FreeBSD.org
Sun Oct 18 14:55:55 UTC 2009


Author: imp
Date: Sun Oct 18 14:55:55 2009
New Revision: 198205
URL: http://svn.freebsd.org/changeset/base/198205

Log:
  Use correct signature for MipsEmulateBranch.  The other one doesn't
  work for 64-bit compiles.

Modified:
  projects/mips/sys/mips/mips/trap.c

Modified: projects/mips/sys/mips/mips/trap.c
==============================================================================
--- projects/mips/sys/mips/mips/trap.c	Sun Oct 18 13:51:49 2009	(r198204)
+++ projects/mips/sys/mips/mips/trap.c	Sun Oct 18 14:55:55 2009	(r198205)
@@ -1057,7 +1057,7 @@ trapDump(char *msg)
 /*
  * Return the resulting PC as if the branch was executed.
  */
-u_int
+uintptr_t
 MipsEmulateBranch(struct trapframe *framePtr, uintptr_t instPC, int fpcCSR,
     uintptr_t instptr)
 {


More information about the svn-src-projects mailing list