summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/sys/timepps.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/sys/timepps.h')
-rw-r--r--cpukit/score/include/sys/timepps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/sys/timepps.h b/cpukit/score/include/sys/timepps.h
index 71d74f54ee..85bb6813cf 100644
--- a/cpukit/score/include/sys/timepps.h
+++ b/cpukit/score/include/sys/timepps.h
@@ -133,6 +133,8 @@ struct pps_kcbind_args {
#ifdef _KERNEL
+struct mtx;
+
struct pps_state {
/* Capture information. */
struct timehands *capth;
@@ -140,6 +142,9 @@ struct pps_state {
unsigned capgen;
unsigned capcount;
+ /* pointer to mutex protecting this state, if any */
+ struct mtx *mtx;
+
/* State information. */
pps_params_t ppsparam;
pps_info_t ppsinfo;