projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
053f3ae
)
em: rman_get_cpuid should be used to get the interrupt's target CPU
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 28 Dec 2011 13:53:41 +0000 (21:53 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 28 Dec 2011 13:53:41 +0000 (21:53 +0800)
sys/dev/netif/em/if_em.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/netif/em/if_em.c
b/sys/dev/netif/em/if_em.c
index
a2b55a6
..
73f81e6
100644
(file)
--- a/
sys/dev/netif/em/if_em.c
+++ b/
sys/dev/netif/em/if_em.c
@@
-812,7
+812,7
@@
em_attach(device_t dev)
goto fail;
}
- ifp->if_cpuid = ithread_cpuid(rman_get_start(adapter->intr_res));
+ ifp->if_cpuid = rman_get_cpuid(adapter->intr_res);
KKASSERT(ifp->if_cpuid >= 0 && ifp->if_cpuid < ncpus);
return (0);
fail: