summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-29 21:01:35 -0400
committerEd Nash <enash54@gmail.com>2013-07-29 21:01:35 -0400
commit614660a165ac827ea272c6fa0c59986881309f90 (patch)
treeb745d05e167c8791a4564413c839de00048c3151 /include
parent08757351fb4e55f6b8ed0f1a6e9b11329c6daedb (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