diff options
author | David S. Miller <davem@davemloft.net> | 2009-05-22 02:30:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-22 02:30:09 -0400 |
commit | 7d18f114897ff4358419b14d551e704a4299a440 (patch) | |
tree | 33a0aa550b34d46f7c4ff025c3b8b0aa7e2c2f99 | |
parent | e35ec126507529ce407136c6b9e36747d89891f9 (diff) |
net: Fix arg to trace_napi_poll() in netpoll.
Reproted by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/netpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 00b14e2c50ed..67b4f3e3d4a5 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -138,7 +138,7 @@ static int poll_one_napi(struct netpoll_info *npinfo, | |||
138 | set_bit(NAPI_STATE_NPSVC, &napi->state); | 138 | set_bit(NAPI_STATE_NPSVC, &napi->state); |
139 | 139 | ||
140 | work = napi->poll(napi, budget); | 140 | work = napi->poll(napi, budget); |
141 | trace_napi_poll(napi->dev); | 141 | trace_napi_poll(napi); |
142 | 142 | ||
143 | clear_bit(NAPI_STATE_NPSVC, &napi->state); | 143 | clear_bit(NAPI_STATE_NPSVC, &napi->state); |
144 | atomic_dec(&trapped); | 144 | atomic_dec(&trapped); |