Re: [RFC v5 4/6] Remove duplicate code from ktime_get_raw_and_real code

2016-01-06 Thread John Stultz
On Mon, Jan 4, 2016 at 4:45 AM, Christopher S. Hall wrote: > The code in ktime_get_snapshot() is a superset of the code in > ktime_get_raw_and_real() code. Changes the latter to call the former. A > side effect of this is that ktime_get_raw_and_real() returns two clock > times corresponding to the

[RFC v5 4/6] Remove duplicate code from ktime_get_raw_and_real code

2016-01-04 Thread Christopher S. Hall
The code in ktime_get_snapshot() is a superset of the code in ktime_get_raw_and_real() code. Changes the latter to call the former. A side effect of this is that ktime_get_raw_and_real() returns two clock times corresponding to the *exact* same clock tick. Previously, this code read the underlying