projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpif-netdev: Allow for Ethernet and VLAN header in buffer size calculation.
[openvswitch]
/
datapath
/
linux-2.6
/
compat-2.6
/
include
/
linux
/
types.h
diff --git
a/datapath/linux-2.6/compat-2.6/include/linux/types.h
b/datapath/linux-2.6/compat-2.6/include/linux/types.h
index d88baf71ce9ffca51d62ccaedf9e3e0332e712aa..b989d96c38ef18dccf0fee557d89484e185bdd23 100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/include/linux/types.h
+++ b/
datapath/linux-2.6/compat-2.6/include/linux/types.h
@@
-3,13
+3,10
@@
#include_next <linux/types.h>
#include_next <linux/types.h>
-#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
-
+#ifndef HAVE_CSUM_TYPES
typedef __u16 __bitwise __sum16;
typedef __u32 __bitwise __wsum;
typedef __u16 __bitwise __sum16;
typedef __u32 __bitwise __wsum;
-
-#endif /* linux kernel < 2.6.20 */
+#endif
#ifndef HAVE_BOOL_TYPE
typedef _Bool bool;
#ifndef HAVE_BOOL_TYPE
typedef _Bool bool;