Disable unused pfil_try_rlock()

This commit is contained in:
Sebastian Huber
2017-03-06 12:06:38 +01:00
parent 5268338be3
commit 6bc5190829

View File

@@ -105,6 +105,7 @@ pfil_chain_get(int dir, struct pfil_head *ph)
return (NULL); return (NULL);
} }
#ifndef __rtems__
/* /*
* pfil_try_rlock() acquires rm reader lock for specified head * pfil_try_rlock() acquires rm reader lock for specified head
* if this is immediately possible. * 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)); return (PFIL_TRY_RLOCK(ph, tracker));
} }
#endif /* __rtems__ */
/* /*
* pfil_rlock() acquires rm reader lock for specified head. * pfil_rlock() acquires rm reader lock for specified head.