diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-04-18 12:35:01 -0500 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-04-18 12:35:01 -0500 |
commit | 31230c0c72aad377e3fedfd713e32c52cc71d3de (patch) | |
tree | ab749036c14680c60c836cfaaed18e1451e38f42 /freebsd/net/netisr.c | |
parent | Added an RTEMS specific version of routines needed from copyinout.c (diff) | |
download | rtems-libbsd-31230c0c72aad377e3fedfd713e32c52cc71d3de.tar.bz2 |
Commented out calls to pin and unpin.
Diffstat (limited to 'freebsd/net/netisr.c')
-rw-r--r-- | freebsd/net/netisr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/net/netisr.c b/freebsd/net/netisr.c index c090ac0e..6aced370 100644 --- a/freebsd/net/netisr.c +++ b/freebsd/net/netisr.c @@ -938,7 +938,9 @@ netisr_dispatch_src(u_int proto, uintptr_t source, struct mbuf *m) goto out_unlock; } KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid)); +#ifndef __rtems__ sched_pin(); +#endif /* __rtems__ */ if (cpuid != curcpu) goto queue_fallback; nwsp = DPCPU_PTR(nws); @@ -997,7 +999,9 @@ netisr_dispatch_src(u_int proto, uintptr_t source, struct mbuf *m) queue_fallback: error = netisr_queue_internal(proto, m, cpuid); out_unpin: +#ifndef __rtems__ sched_unpin(); +#endif /* __rtems__ */ out_unlock: #ifdef NETISR_LOCKING NETISR_RUNLOCK(&tracker); |