summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-29 21:01:35 -0400
committerAnthony Felice <tony.felice@timesys.com>2013-10-09 13:24:29 -0400
commit64436c3077b69e2a525f862a8a2ca49e2fd32e99 (patch)
treeb6707d40b6f7bde49a3735817049375ba2af78a5 /include
parent93c208a287ca3dd766e032d47ab8a2b3941e7c71 (diff)
add support for spin locks
Diffstat (limited to 'include')
-rw-r--r--include/linux/mvf_sema4.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mvf_sema4.h b/include/linux/mvf_sema4.h
index 7b25996f9417..aa2379a9de05 100644
--- a/include/linux/mvf_sema4.h
+++ b/include/linux/mvf_sema4.h
@@ -11,7 +11,6 @@
typedef struct mvf_sema4_handle_struct {
int gate_num;
- int use_interrupts;
wait_queue_head_t wait_queue;
// stats
u32 attempts;
@@ -22,9 +21,9 @@ typedef struct mvf_sema4_handle_struct {
u32 worst_latency_us;
} MVF_SEMA4;
-int mvf_sema4_assign(int gate_num, bool use_interrupts, MVF_SEMA4** sema4_p);
+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);
+int mvf_sema4_lock(MVF_SEMA4 *sema4, unsigned int timeout_us, bool use_interrupts);
int mvf_sema4_unlock(MVF_SEMA4 *sema4);
#endif