aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2009-04-16 02:23:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-16 18:00:43 -0700
commit590818250684d18bb0e30c45d79971dcdff96ad0 (patch)
tree74569b7dc4061819495b00ac4321a30f78791dad /drivers/regulator
parenta54bfa40fd16aeb90bc556189221576f746f8567 (diff)
myri10ge: force stats update in ethtool gstats
Force a statistics update when our ethtool gstats routine is called. Otherwise, ethtool will continue to read stale stats until something forces an update by reading /proc/net/dev This requires putting a lock around the stats update to guard against 2 threads (one via ethtool, and one via procfs) updating the stats at once. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions