This fix the compilation issue on CentOS 7.6 kernel (3.10.0-957.21.3.el7.x86_64).
Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2019-June/360013.html Reported-by: Fred Neubauer <fred.neuba...@gmail.com> Fixes: 6660a9597a49 ("datapath: compat: Introduce static key support") Signed-off-by: Yi-Hung Wei <yihung....@gmail.com> --- Please backport it to branch 2.11 and 2.10. Travis test: https://travis-ci.org/YiHungWei/ovs/builds/550012659 --- datapath/linux/compat/include/linux/static_key.h | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/linux/compat/include/linux/static_key.h b/datapath/linux/compat/include/linux/static_key.h index 01c6a93f07fe..7e43a49e84f1 100644 --- a/datapath/linux/compat/include/linux/static_key.h +++ b/datapath/linux/compat/include/linux/static_key.h @@ -1,6 +1,7 @@ #ifndef _STATIC_KEY_WRAPPER_H #define _STATIC_KEY_WRAPPER_H +#include <linux/atomic.h> #include_next <linux/static_key.h> #ifndef HAVE_UPSTREAM_STATIC_KEY /* -- 2.7.4 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev