svn commit: r213474 - head/sys/mips/rmi

Jayachandran C. jchandra at FreeBSD.org
Wed Oct 6 08:09:39 UTC 2010


Author: jchandra
Date: Wed Oct  6 08:09:39 2010
New Revision: 213474
URL: http://svn.freebsd.org/changeset/base/213474

Log:
  Fix n64 compile.

Modified:
  head/sys/mips/rmi/fmn.c

Modified: head/sys/mips/rmi/fmn.c
==============================================================================
--- head/sys/mips/rmi/fmn.c	Wed Oct  6 08:05:53 2010	(r213473)
+++ head/sys/mips/rmi/fmn.c	Wed Oct  6 08:09:39 2010	(r213474)
@@ -397,7 +397,7 @@ create_msgring_thread(int hwtid)
 		mtx_init(&mthd->lock, "msgrngcore", NULL, MTX_SPIN);
 		mthd->running = mthd->nthreads = 0;
 	}
-	error = kproc_kthread_add(msgring_process, (void *)hwtid,
+	error = kproc_kthread_add(msgring_process, (void *)(uintptr_t)hwtid,
 	    &msgring_proc, &td, RFSTOPPED, 2, "msgrngproc",
 	    "msgthr%d", hwtid);
 	if (error)


More information about the svn-src-all mailing list