[ovs-dev] [PATCH 10/11] acinclude.m4: Support Linux kernel 4.12

Joe Stringer joe at ovn.org
Fri Jul 21 23:46:13 UTC 2017


From: Greg Rose <gvrose8192 at gmail.com>

Allow datapath kernel modules to be configured and built for kernels up
to 4.12.

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Joe Stringer <joe at ovn.org>
---
v2: Shift compat symbol definitions to patch which uses it
---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acinclude.m4 b/acinclude.m4
index fce052477001..cf79fef9b57e 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -143,7 +143,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [
     AC_MSG_RESULT([$kversion])
 
     if test "$version" -ge 4; then
-       if test "$version" = 4 && test "$patchlevel" -le 11; then
+       if test "$version" = 4 && test "$patchlevel" -le 12; then
           : # Linux 4.x
        else
           AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.11.x is not supported (please refer to the FAQ for advice)])
-- 
2.11.1



More information about the dev mailing list