From 22f22ffcb111b38eb7a303bfde39aed108b43e07 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 21 May 2014 18:44:27 -0700 Subject: Restore accidentally-removed NULL timeout. Change-Id: I933c80fea50950243f109acf8d6350013aaa811f --- services/audioflinger/FastMixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/audioflinger/FastMixer.cpp') diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index 3a3df54..eddde7e 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -179,7 +179,7 @@ bool FastMixer::threadLoop() ALOG_ASSERT(coldFutexAddr != NULL); int32_t old = android_atomic_dec(coldFutexAddr); if (old <= 0) { - (void) syscall(__NR_futex, coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1); + (void) syscall(__NR_futex, coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1, NULL); } int policy = sched_getscheduler(0); if (!(policy == SCHED_FIFO || policy == SCHED_RR)) { -- cgit v1.1