From 2763f530d37ce6583dabac928c56172d931a8be0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 1 Oct 2019 12:41:47 +0200 Subject: score: Remove superfluous timecounter members --- cpukit/include/sys/timetc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/include/sys') diff --git a/cpukit/include/sys/timetc.h b/cpukit/include/sys/timetc.h index 347a140ed9..5cdfdfe9b3 100644 --- a/cpukit/include/sys/timetc.h +++ b/cpukit/include/sys/timetc.h @@ -45,12 +45,14 @@ typedef uint32_t timecounter_fill_vdso_timehands32_t(struct vdso_timehands32 *, struct timecounter { timecounter_get_t *tc_get_timecount; +#ifndef __rtems__ /* * This function reads the counter. It is not required to * mask any unimplemented bits out, as long as they are * constant. */ timecounter_pps_t *tc_poll_pps; +#endif /* __rtems__ */ /* * This function is optional. It will be called whenever the * timecounter is rewound, and is intended to check for PPS @@ -64,6 +66,7 @@ struct timecounter { const char *tc_name; /* Name of the timecounter. */ int tc_quality; +#ifndef __rtems__ /* * Used to determine if this timecounter is better than * another timecounter higher means better. Negative @@ -80,7 +83,6 @@ struct timecounter { /* Pointer to the timecounter's private parts. */ struct timecounter *tc_next; /* Pointer to the next timecounter. */ -#ifndef __rtems__ timecounter_fill_vdso_timehands_t *tc_fill_vdso_timehands; timecounter_fill_vdso_timehands32_t *tc_fill_vdso_timehands32; #endif /* __rtems__ */ -- cgit v1.2.3