|
@@ -116,6 +116,11 @@ static inline void netpoll_poll_unlock(void *have)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline int netpoll_tx_running(struct net_device *dev)
|
|
|
|
+{
|
|
|
|
+ return irqs_disabled();
|
|
|
|
+}
|
|
|
|
+
|
|
#else
|
|
#else
|
|
static inline int netpoll_rx(struct sk_buff *skb)
|
|
static inline int netpoll_rx(struct sk_buff *skb)
|
|
{
|
|
{
|
|
@@ -139,6 +144,10 @@ static inline void netpoll_poll_unlock(void *have)
|
|
static inline void netpoll_netdev_init(struct net_device *dev)
|
|
static inline void netpoll_netdev_init(struct net_device *dev)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
+static inline int netpoll_tx_running(struct net_device *dev)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif
|
|
#endif
|