datapath: Change u64_stats_* to use _irq instead of _bh().
authorJesse Gross <jesse@nicira.com>
Mon, 30 Jun 2014 20:43:25 +0000 (13:43 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 1 Jul 2014 19:19:33 +0000 (12:19 -0700)
commit196780c2c4fb668d1d44555f172453db3a0e8eb8
tree87e90f2e8e5f715de060369ddcde2e8ff9498781
parent3601bd879ac43279338d0a4403174397dbfe2891
datapath: Change u64_stats_* to use _irq instead of _bh().

The upstream u64_stats API has been changed to remove the _bh()
versions and switch all consumers to use IRQ safe variants instead.
This was done to be safe for netpoll generated packets, which can
occur in hard IRQ context. From a safety perspective, this doesn't
directly affect OVS since it doesn't support netpoll. However, this
change has been backported to older kernels so OVS needs to use the
new API to compile.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pritesh Kothari <pritesh.kothari@cisco.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Conflicts:
datapath/linux/compat/include/linux/u64_stats_sync.h
acinclude.m4
datapath/datapath.c
datapath/linux/compat/include/linux/u64_stats_sync.h
datapath/vport.c