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

From: Thomas Gleixner
Date: Wed Feb 24 2016 - 05:54:26 EST


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@xxxxxxxxxxxxx>