Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 21:34:13 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94260 for review
Message-ID:  <200603292134.k2TLYDdr076431@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94260

Change 94260 by jhb@jhb_twclab on 2006/03/29 21:34:12

	Fix for LP64.

Affected files ...

.. //depot/projects/smpng/sys/modules/crash2/crash2.c#4 edit

Differences ...

==== //depot/projects/smpng/sys/modules/crash2/crash2.c#4 (text+ko) ====

@@ -270,8 +270,8 @@
 	mtx_init(&event_mtx, "crash2 event", NULL, MTX_DEF);
 	cv_init(&event_cv, "crash2");
 	for (i = 0; i < NTHREADS;  i++) {
-		error = kthread_create(crash_thread, (void *)i, &kthread[i],
-		    RFSTOPPED, 0, "crash2: %d", i);
+		error = kthread_create(crash_thread, (void *)(intptr_t)i,
+		    &kthread[i], RFSTOPPED, 0, "crash2: %d", i);
 		if (error) {
 			unload(NULL);
 			return (error);



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