From: Alexander Gordeev Date: Thu, 13 Jan 2011 01:00:57 +0000 (-0800) Subject: pps: capture MONOTONIC_RAW timestamps as well X-Git-Tag: v2.6.38-rc1~283 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c18e49a0d4f822ffc29fb4958943beb1ff08b7;p=pandora-kernel.git pps: capture MONOTONIC_RAW timestamps as well MONOTONIC_RAW clock timestamps are ideally suited for frequency calculation and also fit well into the original NTP hardpps design. Now phase and frequency can be adjusted separately: the former based on REALTIME clock and the latter based on MONOTONIC_RAW clock. A new function getnstime_raw_and_real is added to timekeeping subsystem to capture both timestamps at the same time and atomically. Signed-off-by: Alexander Gordeev Acked-by: John Stultz Cc: Rodolfo Giometti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed