16 Dec, 2009
1 commit
-
ktime will overflow from 03:14:07 UTC on Tuesday, 19 January 2038,
ktime_add() in timecompare_update() will overflow a half earlier. As a
result, wrong offset will be gotten, then cause some strange problems.Signed-off-by: Barry Song
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Patrick Ohly
Cc: David S. Miller
Cc: John Stultz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Nov, 2009
1 commit
-
Noticed by Thomas GLeixner.
Signed-off-by: David S. Miller
16 Feb, 2009
1 commit
-
Mapping from a struct timecounter to a time returned by functions like
ktime_get_real() is implemented. This is sufficient to use this code
in a network device driver which wants to support hardware time
stamping and transformation of hardware time stamps to system time.The interface could have been made more versatile by not depending on
a time counter, but this wasn't done to avoid writing glue code
elsewhere.The method implemented here is the one used and analyzed under the name
"assisted PTP" in the LCI PTP paper:
http://www.linuxclustersinstitute.org/conferences/archive/2008/PDF/Ohly_92221.pdfAcked-by: John Stultz
Signed-off-by: Patrick Ohly
Signed-off-by: David S. Miller