compat: Add netdev_tx_sent_queue and netdev_tx_completed_queue
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 12 Jul 2012 20:26:36 +0000 (23:26 +0300)
committerVladimir 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

index 3342852..45a078a 100644 (file)
@@ -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 */