Skip to contentSkip to conversation

compat: WQ_MEM_RECLAIM was renamed from WQ_RESCUER

PATCH New Jacob Keller 2 participants 2 messages Jun 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 compat: WQ_MEM_RECLAIM was renamed from WQ_RESCUER

In upstream commit 6370a6ad3b53 ("workqueue: add and use WQ_MEM_RECLAIM flag", 2010-10-11), the WQ_RESCUER flag was renamed to WQ_MEM_RECLAIM. Backport the rename here.

Change-Id I217de4b3fecbcbdba753de8979f99c43f1053d5f
---
 kcompat.h | 2 ++
 1 file changed, 2 insertions(+)
kcompat.h +2 -0
index 3085e3ccd35e..db2f2575298a 100644
@@ -3785,6 +3785,8 @@ static inline int __kc_netif_set_real_num_rx_queues(struct net_device __always_u
 #define ETH_FLAG_RXVLAN (1 << 8)
 #endif /* ETH_FLAG_RXVLAN */
 
+#define WQ_MEM_RECLAIM 0
+
 static inline void _kc_skb_checksum_none_assert(struct sk_buff *skb)
 {
 	WARN_ON(skb->ip_summed != CHECKSUM_NONE);
Signature · 1 line
2.9.0.rc1.405.g81f467e
#1 lore raw

PATCH v2 1/1 compat: WQ_MEM_RECLAIM was renamed from WQ_RESCUER

Quoted 23 lines · Jacob Keller

In upstream commit 6370a6ad3b53 ("workqueue: add and use WQ_MEM_RECLAIM
flag", 2010-10-11), the WQ_RESCUER flag was renamed to WQ_MEM_RECLAIM.
Backport the rename here.

Change-Id I217de4b3fecbcbdba753de8979f99c43f1053d5f

---
?kcompat.h | 2 ++
?1 file changed, 2 insertions(+)

kcompat.h +0 -0
index 3085e3ccd35e..db2f2575298a 100644
@@ -3785,6 +3785,8 @@ static inline int

__kc_netif_set_real_num_rx_queues(struct net_device __always_u ?#define ETH_FLAG_RXVLAN (1 << 8)
?#endif /* ETH_FLAG_RXVLAN */
?

kcompat.h +2 -0
+#define WQ_MEM_RECLAIM 0
+
Quoted 3 lines

?static inline void _kc_skb_checksum_none_assert(struct sk_buff *skb) ?{
? WARN_ON(skb->ip_summed != CHECKSUM_NONE);

Woops, wrong mailing list. You can ignore this...

Thanks,
Jake