[Devel] [PATCH rh7] Port diff-ve-timers-convert-ve-monotonic-to-abs-time-when-setting-timerfd-2

Vladimir Davydov vdavydov at parallels.com
Tue Jun 9 01:37:24 PDT 2015


On Mon, Jun 08, 2015 at 07:17:39PM +0300, Pavel Tikhomirov wrote:
> @@ -153,10 +153,10 @@ static void monotonic_ve_to_abs(clockid_t which_clock, struct timespec *tp)
>  				tp->tv_nsec + ve->start_timespec.tv_nsec);
>  }
>  #else
> -static inline void monotonic_abs_to_ve(clockid_t which_clock,
> -				       struct timespec *tp) { }
> -static inline void monotonic_ve_to_abs(clockid_t which_clock,
> -				       struct timepsec *tp) { }
> +inline void monotonic_abs_to_ve(clockid_t which_clock,
> +				struct timespec *tp) { }
> +inline void monotonic_ve_to_abs(clockid_t which_clock,
> +				struct timepsec *tp) { }

nit: move the stubs to the header please.

Other than that looks OK.



More information about the Devel mailing list