Re: [PATCH v8 3/8] time: Remove duplicated code in ktime_get_raw_and_real()

Thomas Gleixner
2016-02-24T10:52:08Z

On Mon, 22 Feb 2016, Christopher S. Hall wrote:

> --- a/kernel/time/timekeeping.c
> +++ b/kernel/time/timekeeping.c
> @@ -888,6 +888,8 @@ void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot)
> s64 nsec_real;
> cycle_t now;
>
> + WARN_ON(timekeeping_suspended);

WARN_ON_ONCE please

Other than that: Reviewed-by: Thomas Gleixner <tglx@linutronix.de>