diff options
author | Raanan Avargil <raanan.avargil@intel.com> | 2015-07-19 16:33:20 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-08-05 16:53:48 -0700 |
commit | 37b12910dd11d9ab969f2c310dc9160b7f3e3405 (patch) | |
tree | 153dfbbf9c83135c0e13fbeba8e62ab093b4d8b8 /net/lapb/lapb_timer.c | |
parent | 2758f9edb7bd5a06a2ecee83cc2ebaf8822a0cb5 (diff) | |
download | lwn-37b12910dd11d9ab969f2c310dc9160b7f3e3405.tar.gz lwn-37b12910dd11d9ab969f2c310dc9160b7f3e3405.zip |
e1000e: Fix tight loop implementation of systime read algorithm
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions