diff options
-rw-r--r-- | freebsd/sys/net/pfil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/net/pfil.c b/freebsd/sys/net/pfil.c index 7fcecc88..8f4f50b8 100644 --- a/freebsd/sys/net/pfil.c +++ b/freebsd/sys/net/pfil.c @@ -105,6 +105,7 @@ pfil_chain_get(int dir, struct pfil_head *ph) return (NULL); } +#ifndef __rtems__ /* * pfil_try_rlock() acquires rm reader lock for specified head * if this is immediately possible. @@ -115,6 +116,7 @@ pfil_try_rlock(struct pfil_head *ph, struct rm_priotracker *tracker) return (PFIL_TRY_RLOCK(ph, tracker)); } +#endif /* __rtems__ */ /* * pfil_rlock() acquires rm reader lock for specified head. |