git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df4eeb2
)
datapath: compat: Fix compiler error.
author
Pravin B Shelar
<pshelar@nicira.com>
Fri, 6 Dec 2013 03:48:46 +0000
(19:48 -0800)
committer
Pravin 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
patch
|
blob
|
history
diff --git
a/datapath/linux/compat/include/linux/net.h
b/datapath/linux/compat/include/linux/net.h
index
ae226ea
..
d8bf621
100644
(file)
--- a/
datapath/linux/compat/include/linux/net.h
+++ b/
datapath/linux/compat/include/linux/net.h
@@
-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, ...) \