From owner-p4-projects@FreeBSD.ORG Mon May 1 23:56:05 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 BD57B16A4D5; Mon, 1 May 2006 23:56:05 +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 D04D316A474 for ; Mon, 1 May 2006 23:56:04 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8630C43D45 for ; Mon, 1 May 2006 23:56:04 +0000 (GMT) (envelope-from jb@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 k41Nu4C6046133 for ; Mon, 1 May 2006 23:56:04 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k41Nu42j046130 for perforce@freebsd.org; Mon, 1 May 2006 23:56:04 GMT (envelope-from jb@freebsd.org) Date: Mon, 1 May 2006 23:56:04 GMT Message-Id: <200605012356.k41Nu42j046130@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 96532 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: Mon, 01 May 2006 23:56:06 -0000 http://perforce.freebsd.org/chv.cgi?CH=96532 Change 96532 by jb@jb_freebsd2 on 2006/05/01 23:56:03 Update my hacks. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_hacks.h#11 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_hacks.h#11 (text+ko) ==== @@ -21,7 +21,7 @@ #define t_dtrace_start td_dtrace_start #define t_dtrace_vtime td_dtrace_vtime #define t_predcache td_predcache -#define ttoproc(_a) ((_d)->th_proc) +#define ttoproc(_a) ((_a)->td_proc) typedef dtrace_mutex_t kmutex_t; #define mutex_enter(_a) dtrace_mutex_lock(_a) @@ -36,6 +36,7 @@ #define mod_modname pathname #define crgetuid(_a) _a->cr_uid #define crgetzoneid(_a) 0 +#define SNOCD 0 #define KM_SLEEP M_WAITOK #define KM_NOSLEEP M_NOWAIT #define kmem_zalloc(_a,_b) malloc(_a, M_DTRACE, _b | M_ZERO)