Remove some DTrace hook definitions that are now in dtrace_bsd.h
which contains all the hook definitions rather than splattering them all over the header files. The definitions are only valid when the KDTRACE_HOOKS kernel option is defined, so other kernel sources have no need to see them.
This commit is contained in:
parent
69b2c659c1
commit
8a2dd5b9ce
@ -214,12 +214,6 @@ void realitexpire(void *);
|
||||
|
||||
int sysbeep(int hertz, int period);
|
||||
|
||||
/*
|
||||
* Cyclic clock function type definition used to hook the cyclic
|
||||
* subsystem into the appropriate timer interrupt.
|
||||
*/
|
||||
typedef void (*cyclic_clock_func_t)(void);
|
||||
|
||||
void hardclock(int usermode, uintfptr_t pc);
|
||||
void hardclock_cpu(int usermode);
|
||||
void softclock(void *);
|
||||
|
@ -312,8 +312,6 @@ int ratecheck(struct timeval *, const struct timeval *);
|
||||
void timevaladd(struct timeval *t1, const struct timeval *t2);
|
||||
void timevalsub(struct timeval *t1, const struct timeval *t2);
|
||||
int tvtohz(struct timeval *tv);
|
||||
uint64_t dtrace_gethrtime(void);
|
||||
uint64_t dtrace_gethrestime(void);
|
||||
#else /* !_KERNEL */
|
||||
#include <time.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user