xen: convert to 64 bit stats interface
authorstephen hemminger <shemminger@vyatta.com>
Tue, 21 Jun 2011 05:35:31 +0000 (05:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2011 22:57:05 +0000 (15:57 -0700)
commite00f85bec0a9924eb517ccd126ddbb9787068f53
tree35b7ea541947b92a4a06c43cd58599ec639961c4
parent62ea05577ed3ea4f542f9bc17cb716787316e2ea
xen: convert to 64 bit stats interface

Convert xen driver to 64 bit statistics interface.
Use stats_sync to ensure that 64 bit update is read atomically on 32 bit platform.
Put hot statistics into per-cpu table.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c