Fix the build when DTrace isn't enabled.

Reported by:	stefanf
X-MFC-With:	r268600
This commit is contained in:
Mark Johnston 2014-07-20 18:44:56 +00:00
parent 019008ebf5
commit 26cf239814
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268923

View file

@ -613,8 +613,10 @@ void
trap_check(struct trapframe *frame)
{
#ifdef KDTRACE_HOOKS
if (dtrace_trap_func != NULL && (*dtrace_trap_func)(frame))
return;
#endif
trap(frame);
}