summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorRaanan Avargil <raanan.avargil@intel.com>2015-07-19 16:33:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-22 14:49:35 -0700
commit018027b2916d32b2636623378da79016eaf08151 (patch)
tree3d85f63f7f47ee89b0fa7d318083e97c5e794e49 /ipc
parent14eebe6be1101084897590d0093144e3f0ec41ea (diff)
e1000e: Fix tight loop implementation of systime read algorithm
commit 37b12910dd11d9ab969f2c310dc9160b7f3e3405 upstream. Change the algorithm. Read systimel twice and check for overflow. If there was no overflow, use the first value. If there was an overflow, read systimeh again and use the second systimel value. Signed-off-by: Raanan Avargil <raanan.avargil@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: "Jason A. Donenfeld" <Jason@zx2c4.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions