git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Add backport for __always_unused.
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
linux
/
compiler-gcc.h
diff --git
a/datapath/linux/compat/include/linux/compiler-gcc.h
b/datapath/linux/compat/include/linux/compiler-gcc.h
index
1ee8d6f
..
bf057f7
100644
(file)
--- a/
datapath/linux/compat/include/linux/compiler-gcc.h
+++ b/
datapath/linux/compat/include/linux/compiler-gcc.h
@@
-7,3
+7,7
@@
#ifndef __packed
#define __packed __attribute__((packed))
#endif
+
+#ifndef __always_unused
+#define __always_unused __attribute__((unused))
+#endif