projects
/
~emulex
/
for-vlad
/
old
/
compat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6530c00
)
compat: Add netdev_tx_sent_queue and netdev_tx_completed_queue
author
Vladimir Sokolovsky
<vlad@mellanox.com>
Thu, 12 Jul 2012 20:26:36 +0000
(23:26 +0300)
committer
Vladimir Sokolovsky
<vlad@mellanox.com>
Thu, 12 Jul 2012 20:26:36 +0000
(23:26 +0300)
[linux-2.6] (master)$ git describe --contains \
c5d67bd78c5dc540e3461c36fb3d389fbe0de4c3
v3.3-rc1~182^2~426
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
include/linux/compat-3.3.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-3.3.h
b/include/linux/compat-3.3.h
index
3342852
..
45a078a
100644
(file)
--- a/
include/linux/compat-3.3.h
+++ b/
include/linux/compat-3.3.h
@@
-72,6
+72,16
@@
module_exit(__driver##_exit);
module_driver(__usb_driver, usb_register, \
usb_deregister)
+static inline void netdev_tx_sent_queue(struct netdev_queue *dev_queue,
+ unsigned int bytes)
+{
+}
+
+static inline void netdev_tx_completed_queue(struct netdev_queue *dev_queue,
+ unsigned pkts, unsigned bytes)
+{
+}
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)) */
#endif /* LINUX_3_3_COMPAT_H */