datapath: compat: Fix compiler error.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 6 Dec 2013 03:48:46 +0000 (19:48 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 4 Dec 2013 10:04:18 +0000 (02:04 -0800)
Earlier RHEL6 kernel do not have linux/atomic.h header
file.  Use types.h to get atomic_t definition.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/net.h

index ae226ea..d8bf621 100644 (file)
@@ -2,7 +2,7 @@
 #define __LINUX_NET_WRAPPER_H 1
 
 #include_next <linux/net.h>
-#include <linux/atomic.h>
+#include <linux/types.h>
 
 #ifndef net_ratelimited_function
 #define net_ratelimited_function(function, ...)                        \