aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index be9a82b2f0b..f02f1f5ddc3 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1953,6 +1953,12 @@ skip:
1953 */ 1953 */
1954 console_idx = log_next(console_idx); 1954 console_idx = log_next(console_idx);
1955 console_seq++; 1955 console_seq++;
1956 /*
1957 * We will get here again when we register a new
1958 * CON_PRINTBUFFER console. Clear the flag so we
1959 * will properly dump everything later.
1960 */
1961 msg->flags &= ~LOG_NOCONS;
1956 goto skip; 1962 goto skip;
1957 } 1963 }
1958 1964