All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] compat: backport netif_wake_subqueue
@ 2012-04-06 21:00 Johannes Berg
  2012-04-07  2:23 ` Luis R. Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2012-04-06 21:00 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless, lf_driver_backport

From: Johannes Berg <johannes.berg@intel.com>

Kernels 2.6.23 - 2.6.27 had some multiqueue support,
but called netif_wake_subqueue netif_start_subqueue.
So to backport, just add a define.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 include/linux/compat-2.6.27.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/compat-2.6.27.h b/include/linux/compat-2.6.27.h
index 22fadcd..1e2af80 100644
--- a/include/linux/compat-2.6.27.h
+++ b/include/linux/compat-2.6.27.h
@@ -256,6 +256,8 @@ static inline __u32 ethtool_cmd_speed(const struct ethtool_cmd *ep)
  */
 #define lower_32_bits(n) ((u32)(n))
 
+#define netif_wake_subqueue netif_start_subqueue
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)) */
 
 #endif /* LINUX_26_27_COMPAT_H */
-- 
1.7.9.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-12 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-06 21:00 [PATCH] compat: backport netif_wake_subqueue Johannes Berg
2012-04-07  2:23 ` Luis R. Rodriguez
2012-04-12  4:16   ` Johannes Berg
2012-04-12  7:55     ` Luis R. Rodriguez
2012-04-12 13:07       ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.