]> git.proxmox.com Git - ovs.git/commitdiff
compat: Fix compilation error on CentOS 7.6
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 25 Jun 2019 18:09:07 +0000 (11:09 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 26 Jun 2019 15:17:26 +0000 (08:17 -0700)
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.neubauer@gmail.com>
Fixes: 6660a9597a49 ("datapath: compat: Introduce static key support")
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath/linux/compat/include/linux/static_key.h

index 01c6a93f07fec95807ef7b6f44c022dba6a33980..7e43a49e84f122b36ea468454ea3333848bf7727 100644 (file)
@@ -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
 /*