summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-06-20 10:35:07 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-21 15:55:52 -0700
commit62ea05577ed3ea4f542f9bc17cb716787316e2ea (patch)
treea94688d35de2f98fd07e027c8ef15d67906f1c42 /ipc
parent3b0c9cbb6e5fe25a4162be68ed1459b6f7432da9 (diff)
downloadlwn-62ea05577ed3ea4f542f9bc17cb716787316e2ea.tar.gz
lwn-62ea05577ed3ea4f542f9bc17cb716787316e2ea.zip
vxge: fix 64 bit access on 32 bit platforms
Need to add stat_sync wrapper around 64 bit statistic values. Fix wraparound bug in lockup detector where it is unsafely comparing 64 bit value that is not atomic. Since only care about detecting activity just looking at current low order bits will work. Remove unused entries in old vxge_sw_stats structure. Change the error counters to unsigned long since they won't grow so large as to have to be 64 bits. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions