aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2011-02-07 17:22:58 -0800
committerJesse Gross <jesse@nicira.com>2011-02-07 18:29:22 -0800
commitcf6cb3a2ab31a16b01e18e1db2d601e92f2a405e (patch)
tree0fb55a140e6bad96f3f5fe0c0021a809e5cc0895 /acinclude.m4
parent303708cc8417959bbb7662fa52e0761a48bacbb1 (diff)
datapath: Check for backported rcu_read_lock_held.
New versions of Xen backport this function. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index fed950bd..6a829d59 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -168,6 +168,10 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [
OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro])
OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_get_stats])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/rcupdate.h], [rcu_read_lock_held], [],
+ [OVS_GREP_IFELSE([$KSRC26/include/linux/rtnetlink.h],
+ [rcu_read_lock_held])])
+
# Check for the proto_data_valid member in struct sk_buff. The [^@]
# is necessary because some versions of this header remove the
# member but retain the kerneldoc comment that describes it (which