Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2007 22:00:07 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127848 for review
Message-ID:  <200710202200.l9KM07pp065984@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127848

Change 127848 by jb@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



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