summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/lock_profile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/lock_profile.h b/sys/sys/lock_profile.h
index f913542..2d9df3b 100644
--- a/sys/sys/lock_profile.h
+++ b/sys/sys/lock_profile.h
@@ -36,6 +36,7 @@ LIST_HEAD(lpohead, lock_profile_object);
#ifdef _KERNEL
#ifdef LOCK_PROFILING
+#include <machine/cpufunc.h>
#include <sys/lock.h>
#ifndef USE_CPU_NANOSECONDS
OpenPOWER on IntegriCloud