diff options
Diffstat (limited to 'kernel/rtmutex-debug.c')
| -rw-r--r-- | kernel/rtmutex-debug.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index 5fcb4fe645e2..ddabb54bb5c8 100644 --- a/kernel/rtmutex-debug.c +++ b/kernel/rtmutex-debug.c @@ -37,8 +37,8 @@ do {								\  	if (rt_trace_on) {					\  		rt_trace_on = 0;				\  		console_verbose();				\ -		if (spin_is_locked(¤t->pi_lock))		\ -			spin_unlock(¤t->pi_lock);		\ +		if (raw_spin_is_locked(¤t->pi_lock))	\ +			raw_spin_unlock(¤t->pi_lock);	\  	}							\  } while (0)  | 
