PERFORCE change 131733 for review

John Birrell jb at FreeBSD.org
Wed Dec 26 14:11:26 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131733

Change 131733 by jb at jb_freebsd1 on 2007/12/26 22:11:04

	Add a cpuid field (which is the index into the array) just for
	convenience given that the cyclic device code passes around a cpu_t *
	which is a pointer to an entry in the array.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/cyclic.h#7 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/cyclic.h#7 (text) ====

@@ -44,6 +44,7 @@
 #undef	cpu_t
 #define cpu_t   cyclic_cpu_t
 typedef struct {
+	int		cpuid;
         struct cyc_cpu *cpu_cyclic;
 	uint32_t	cpu_flags;
 	uint_t		cpu_intr_actv;


More information about the p4-projects mailing list