svn commit: r268923 - head/sys/amd64/amd64
Mark Johnston
markj at FreeBSD.org
Sun Jul 20 18:44:57 UTC 2014
Author: markj
Date: Sun Jul 20 18:44:56 2014
New Revision: 268923
URL: http://svnweb.freebsd.org/changeset/base/268923
Log:
Fix the build when DTrace isn't enabled.
Reported by: stefanf
X-MFC-With: r268600
Modified:
head/sys/amd64/amd64/trap.c
Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c Sun Jul 20 16:34:35 2014 (r268922)
+++ head/sys/amd64/amd64/trap.c Sun Jul 20 18:44:56 2014 (r268923)
@@ -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);
}
More information about the svn-src-head
mailing list