Date: Sun, 14 May 2006 00:48:55 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 97116 for review Message-ID: <200605140048.k4E0mtZk078893@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97116 Change 97116 by jb@jb_freebsd2 on 2006/05/14 00:48:49 Macro to do effectively what Sun's one does. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_hacks.h#13 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_hacks.h#13 (text+ko) ==== @@ -7,6 +7,8 @@ #define CPU curthread #define cpu_id td_oncpu +#define CPU_ON_INTR(_t) (pcpu_find((_t)->td_oncpu)->pc_intr_actv) + #define t_dtrace_start td_dtrace_start #define t_dtrace_vtime td_dtrace_vtime #define t_predcache td_predcache
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605140048.k4E0mtZk078893>