net: Fix arg to trace_napi_poll() in netpoll.
authorDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2009 06:30:09 +0000 (23:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2009 06:30:09 +0000 (23:30 -0700)
Reproted by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c

index 00b14e2c50ed3fa1cb39dd0d9c834a6f51bdbab6..67b4f3e3d4a5384718c167d9d473bbc657c4d836 100644 (file)
@@ -138,7 +138,7 @@ static int poll_one_napi(struct netpoll_info *npinfo,
        set_bit(NAPI_STATE_NPSVC, &napi->state);
 
        work = napi->poll(napi, budget);
-       trace_napi_poll(napi->dev);
+       trace_napi_poll(napi);
 
        clear_bit(NAPI_STATE_NPSVC, &napi->state);
        atomic_dec(&trapped);