Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2006 23:56:04 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96532 for review
Message-ID:  <200605012356.k41Nu42j046130@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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