From owner-p4-projects@FreeBSD.ORG Wed Mar 29 21:34:16 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 141DA16A420; Wed, 29 Mar 2006 21:34:16 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D00FF16A400 for ; Wed, 29 Mar 2006 21:34:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 942C943D4C for ; Wed, 29 Mar 2006 21:34:13 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2TLYDcn076434 for ; Wed, 29 Mar 2006 21:34:13 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2TLYDdr076431 for perforce@freebsd.org; Wed, 29 Mar 2006 21:34:13 GMT (envelope-from jhb@freebsd.org) Date: Wed, 29 Mar 2006 21:34:13 GMT Message-Id: <200603292134.k2TLYDdr076431@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 94260 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: Wed, 29 Mar 2006 21:34:16 -0000 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);