aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 267ce780abe8..e698e80d8428 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1358,9 +1358,9 @@ static int console_trylock_for_printk(unsigned int cpu)
1358 } 1358 }
1359 } 1359 }
1360 logbuf_cpu = UINT_MAX; 1360 logbuf_cpu = UINT_MAX;
1361 raw_spin_unlock(&logbuf_lock);
1361 if (wake) 1362 if (wake)
1362 up(&console_sem); 1363 up(&console_sem);
1363 raw_spin_unlock(&logbuf_lock);
1364 return retval; 1364 return retval;
1365} 1365}
1366 1366