summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorAlex Wang <alexw@nicira.com>2015-04-21 14:03:31 -0700
committerAlex Wang <alexw@nicira.com>2015-04-26 09:32:41 -0700
commit298538142312f994b982b266f24f93405580ec5b (patch)
tree1ebf588cbec5bde2c3cba29b8bb523180c4c0fd7 /acinclude.m4
parent3ed424e5e5d614e08a58ffe700bbe88ed0514a7b (diff)
downloadopenvswitch-298538142312f994b982b266f24f93405580ec5b.tar.gz
datapath: Remove linux/compat/include/linux/log2.h.
No longer need this compat file, we can use the upstream version of the function. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m412
1 files changed, 0 insertions, 12 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 718aa9321..070f1203c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -292,16 +292,6 @@ AC_DEFUN([OVS_DEFINE], [
echo '#define $1 1' >> datapath/linux/kcompat.h.new
])
-AC_DEFUN([OVS_CHECK_LOG2_H], [
- AC_MSG_CHECKING([for $KSRC/include/linux/log2.h])
- if test -e $KSRC/include/linux/log2.h; then
- AC_MSG_RESULT([yes])
- OVS_DEFINE([HAVE_LOG2_H])
- else
- AC_MSG_RESULT([no])
- fi
-])
-
dnl OVS_CHECK_LINUX_COMPAT
dnl
dnl Runs various Autoconf checks on the Linux 2.6 kernel source in
@@ -442,8 +432,6 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
OVS_GREP_IFELSE([$KSRC/include/uapi/linux/netdevice.h], [NET_NAME_UNKNOWN],
[OVS_DEFINE([HAVE_NET_NAME_UNKNOWN])])
- OVS_CHECK_LOG2_H
-
if cmp -s datapath/linux/kcompat.h.new \
datapath/linux/kcompat.h >/dev/null 2>&1; then
rm datapath/linux/kcompat.h.new