PERFORCE change 127848 for review
John Birrell
jb at FreeBSD.org
Sat Oct 20 15:00:08 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=127848
Change 127848 by jb at jb_freebsd1 on 2007/10/20 21:59:15
Avoid including stuff which is very Solaris-specific.
Affected files ...
.. //depot/projects/dtrace6/src/sys/contrib/opensolaris/uts/common/sys/cyclic.h#2 edit
Differences ...
==== //depot/projects/dtrace6/src/sys/contrib/opensolaris/uts/common/sys/cyclic.h#2 (text+ko) ====
@@ -35,8 +35,17 @@
#ifndef _ASM
#include <sys/time.h>
+#if defined(sun)
#include <sys/cpuvar.h>
#include <sys/cpupart.h>
+#else
+#ifdef _KERNEL
+#include <sys/pcpu.h>
+typepdef struct pcpu cpu_t;
+#else
+#define cpu_t void
+#endif
+#endif
#endif /* !_ASM */
#define CY_LOW_LEVEL 0
More information about the p4-projects
mailing list