aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/fmlp.c
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-10-23 01:01:49 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-10-23 01:01:49 -0400
commit3dd41424090a0ca3a660218d06afe6ff4441bad3 (patch)
tree511ef1bb1799027fc5aad574adce49120ecadd87 /litmus/fmlp.c
parent5c5456402d467969b217d7fdd6670f8c8600f5a8 (diff)
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff)
Merge commit 'v2.6.36' into wip-merge-2.6.36
Conflicts: Makefile arch/x86/include/asm/unistd_32.h arch/x86/kernel/syscall_table_32.S kernel/sched.c kernel/time/tick-sched.c Relevant API and functions changes (solved in this commit): - (API) .enqueue_task() (enqueue_task_litmus), dequeue_task() (dequeue_task_litmus), [litmus/sched_litmus.c] - (API) .select_task_rq() (select_task_rq_litmus) [litmus/sched_litmus.c] - (API) sysrq_dump_trace_buffer() and sysrq_handle_kill_rt_tasks() [litmus/sched_trace.c] - struct kfifo internal buffer name changed (buffer -> buf) [litmus/sched_trace.c] - add_wait_queue_exclusive_locked -> __add_wait_queue_tail_exclusive [litmus/fmlp.c] - syscall numbers for both x86_32 and x86_64
Diffstat (limited to 'litmus/fmlp.c')
-rw-r--r--litmus/fmlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/fmlp.c b/litmus/fmlp.c
index 03fa7358d5eb..a9a638576d69 100644
--- a/litmus/fmlp.c
+++ b/litmus/fmlp.c
@@ -148,7 +148,7 @@ static int do_fmlp_down(struct pi_semaphore* sem)
148 waitqueue_active(&sem->wait)) { 148 waitqueue_active(&sem->wait)) {
149 /* we need to suspend */ 149 /* we need to suspend */
150 tsk->state = TASK_UNINTERRUPTIBLE; 150 tsk->state = TASK_UNINTERRUPTIBLE;
151 add_wait_queue_exclusive_locked(&sem->wait, &wait); 151 __add_wait_queue_tail_exclusive(&sem->wait, &wait);
152 152
153 TRACE_CUR("suspends on PI lock %p\n", sem); 153 TRACE_CUR("suspends on PI lock %p\n", sem);
154 litmus->pi_block(sem, tsk); 154 litmus->pi_block(sem, tsk);