PERFORCE change 128665 for review

John Birrell jb at FreeBSD.org
Sun Nov 4 19:15:27 PST 2007


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

Change 128665 by jb at jb_freebsd1 on 2007/11/05 03:14:56

	Remove some temporary hacks.
	
	Fix 3 function prototypes definitions.

Affected files ...

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

Differences ...

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

@@ -35,17 +35,8 @@
 
 #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
@@ -88,15 +79,15 @@
 extern cyclic_id_t cyclic_add_omni(cyc_omni_handler_t *);
 extern void cyclic_remove(cyclic_id_t);
 extern void cyclic_bind(cyclic_id_t, cpu_t *, cpupart_t *);
-extern hrtime_t cyclic_getres();
+extern hrtime_t cyclic_getres(void);
 
 extern int cyclic_offline(cpu_t *cpu);
 extern void cyclic_online(cpu_t *cpu);
 extern int cyclic_juggle(cpu_t *cpu);
 extern void cyclic_move_in(cpu_t *);
 extern int cyclic_move_out(cpu_t *);
-extern void cyclic_suspend();
-extern void cyclic_resume();
+extern void cyclic_suspend(void);
+extern void cyclic_resume(void);
 
 extern void cyclic_fire(cpu_t *cpu);
 extern void cyclic_softint(cpu_t *cpu, cyc_level_t level);


More information about the p4-projects mailing list