summaryrefslogtreecommitdiff
path: root/include/linux/mvf_sema4.h
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-31 12:11:03 -0400
committerAnthony Felice <tony.felice@timesys.com>2013-10-09 13:24:32 -0400
commit8ee6bb297e2b0f495cc40fecdcb33b568fbe5410 (patch)
treed2fd9f825a4d47550da0db9a80041603754f4123 /include/linux/mvf_sema4.h
parent64436c3077b69e2a525f862a8a2ca49e2fd32e99 (diff)
add a test call to determine state of semaphore without requesting it
Diffstat (limited to 'include/linux/mvf_sema4.h')
-rw-r--r--include/linux/mvf_sema4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mvf_sema4.h b/include/linux/mvf_sema4.h
index aa2379a9de05..198f3f249ec5 100644
--- a/include/linux/mvf_sema4.h
+++ b/include/linux/mvf_sema4.h
@@ -25,5 +25,6 @@ int mvf_sema4_assign(int gate_num, MVF_SEMA4** sema4_p);
int mvf_sema4_deassign(MVF_SEMA4 *sema4);
int mvf_sema4_lock(MVF_SEMA4 *sema4, unsigned int timeout_us, bool use_interrupts);
int mvf_sema4_unlock(MVF_SEMA4 *sema4);
+int mvf_sema4_test(MVF_SEMA4 *sema4);
#endif