projects
/
~tnikolova
/
compat
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compat: add __always_unused
[~tnikolova/compat/.git]
/
include
/
linux
/
compat-2.6.33.h
diff --git
a/include/linux/compat-2.6.33.h
b/include/linux/compat-2.6.33.h
index
8aabda0
..
43f1989
100644
(file)
--- a/
include/linux/compat-2.6.33.h
+++ b/
include/linux/compat-2.6.33.h
@@
-138,6
+138,12
@@
static inline bool pci_is_pcie(struct pci_dev *dev)
#endif
}
+#ifdef __GNUC__
+#define __always_unused __attribute__((unused))
+#else
+#define __always_unused /* unimplemented */
+#endif
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
#endif /* LINUX_26_33_COMPAT_H */