Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202927
b: refs/heads/master
c: c18370f
h: refs/heads/master
i:
  202925: b82bff4
  202923: 73c42a8
  202919: 16297de
  202911: f5c3e35
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 15, 2010
1 parent 0e36275 commit 0c294ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fdd95ec162a8fbac7f41d6f54f90402fe3e8cb1
refs/heads/master: c18370f5b2949d9cca519355f33690b75e1e7c8b
9 changes: 9 additions & 0 deletions trunk/include/linux/netpoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
static inline int netpoll_rx(struct sk_buff *skb)
{
Expand All @@ -139,6 +144,10 @@ static inline void netpoll_poll_unlock(void *have)
static inline void netpoll_netdev_init(struct net_device *dev)
{
}
static inline int netpoll_tx_running(struct net_device *dev)
{
return 0;
}
#endif

#endif

0 comments on commit 0c294ba

Please sign in to comment.