Added back in a couple of methods.

This commit is contained in:
Jennifer Averett 2012-04-17 13:32:56 -05:00
parent 90cdcaea58
commit 785af865d1

View File

@ -318,6 +318,7 @@ netisr_get_cpuid(u_int cpunumber)
return (nws_array[cpunumber]); return (nws_array[cpunumber]);
} }
#endif /* __rtems__ */
/* /*
* The default implementation of -> CPU ID mapping. * The default implementation of -> CPU ID mapping.
@ -331,7 +332,6 @@ netisr_default_flow2cpu(u_int flowid)
return (nws_array[flowid % nws_count]); return (nws_array[flowid % nws_count]);
} }
#endif /* __rtems__ */
/* /*
* Register a new netisr handler, which requires initializing per-protocol * Register a new netisr handler, which requires initializing per-protocol
@ -881,7 +881,6 @@ netisr_queue(u_int proto, struct mbuf *m)
return (netisr_queue_src(proto, 0, m)); return (netisr_queue_src(proto, 0, m));
} }
#ifndef __rtems__
/* /*
* Dispatch a packet for netisr processing, direct dispatch permitted by * Dispatch a packet for netisr processing, direct dispatch permitted by
* calling context. * calling context.
@ -1013,6 +1012,7 @@ netisr_dispatch(u_int proto, struct mbuf *m)
return (netisr_dispatch_src(proto, 0, m)); return (netisr_dispatch_src(proto, 0, m));
} }
#ifndef __rtems__
#ifdef DEVICE_POLLING #ifdef DEVICE_POLLING
/* /*
* Kernel polling borrows a netisr thread to run interface polling in; this * Kernel polling borrows a netisr thread to run interface polling in; this