Move some duplicated hook definitions from machine-dependent files to

kern_dtrace.c.

Reviewed by:	rpaulo
MFC after:	1 week
This commit is contained in:
markj 2014-05-29 01:41:19 +00:00
parent 8cfb727def
commit 12b89b902d

View File

@ -59,10 +59,12 @@ int dtrace_trap(struct trapframe *, u_int);
extern dtrace_trap_func_t dtrace_trap_func;
/* Used by the machine dependent trap() code. */
/*
* A hook which removes active FBT probes before executing the double fault
* handler. We want to ensure that DTrace doesn't trigger another trap, which
* would result in a reset.
*/
typedef void (*dtrace_doubletrap_func_t)(void);
/* Global variables in trap.c */
extern dtrace_doubletrap_func_t dtrace_doubletrap_func;
/* Pid provider hooks */