lib: spinlock_debug: increase spin dump timeout

On certain targets the worst case console buffer draining time can
exceed the aggressive spin dump timeout value. Relax the timeout value
to cater to these scenarios.

Change-Id: I7312ffe06bafd2dc7adf0f4e8b73a53fc5839235
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
This commit is contained in:
Syed Rameez Mustafa
2013-08-08 10:36:47 -07:00
committed by Gerrit - the friendly Code Review server
parent c2122056c7
commit 4335742fbd
+1 -1
View File
@@ -108,7 +108,7 @@ static inline void debug_spin_unlock(raw_spinlock_t *lock)
static void __spin_lock_debug(raw_spinlock_t *lock)
{
u64 i;
u64 loops = (loops_per_jiffy * HZ) >> 4;
u64 loops = (loops_per_jiffy * HZ) >> 1;
for (i = 0; i < loops; i++) {
if (arch_spin_trylock(&lock->raw_lock))