summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2012-04-17 13:32:56 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-04-17 13:32:56 -0500
commit785af865d1697b80ff3109dc445ca0e6f227e96a (patch)
treecd8d86e14a6c5594e359cd6b04b146993411d718 /freebsd
parentCommented out unused methods to resolve linker errors. (diff)
downloadrtems-libbsd-785af865d1697b80ff3109dc445ca0e6f227e96a.tar.bz2
Added back in a couple of methods.
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/net/netisr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/net/netisr.c b/freebsd/net/netisr.c
index a95390fe..c090ac0e 100644
--- a/freebsd/net/netisr.c
+++ b/freebsd/net/netisr.c
@@ -318,6 +318,7 @@ netisr_get_cpuid(u_int cpunumber)
return (nws_array[cpunumber]);
}
+#endif /* __rtems__ */
/*
* The default implementation of -> CPU ID mapping.
@@ -331,7 +332,6 @@ netisr_default_flow2cpu(u_int flowid)
return (nws_array[flowid % nws_count]);
}
-#endif /* __rtems__ */
/*
* 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));
}
-#ifndef __rtems__
/*
* Dispatch a packet for netisr processing, direct dispatch permitted by
* calling context.
@@ -1013,6 +1012,7 @@ netisr_dispatch(u_int proto, struct mbuf *m)
return (netisr_dispatch_src(proto, 0, m));
}
+#ifndef __rtems__
#ifdef DEVICE_POLLING
/*
* Kernel polling borrows a netisr thread to run interface polling in; this