@@ -2296,6 +2296,7 @@ asmlinkage __visible int _printk(const char *fmt, ...)
2296
2296
}
2297
2297
EXPORT_SYMBOL (_printk );
2298
2298
2299
+ static bool pr_flush (int timeout_ms , bool reset_on_progress );
2299
2300
static bool __pr_flush (struct console * con , int timeout_ms , bool reset_on_progress );
2300
2301
2301
2302
#else /* CONFIG_PRINTK */
@@ -2330,6 +2331,7 @@ static void call_console_driver(struct console *con, const char *text, size_t le
2330
2331
{
2331
2332
}
2332
2333
static bool suppress_message_printing (int level ) { return false; }
2334
+ static bool pr_flush (int timeout_ms , bool reset_on_progress ) { return true; }
2333
2335
static bool __pr_flush (struct console * con , int timeout_ms , bool reset_on_progress ) { return true; }
2334
2336
2335
2337
#endif /* CONFIG_PRINTK */
@@ -3438,11 +3440,10 @@ static bool __pr_flush(struct console *con, int timeout_ms, bool reset_on_progre
3438
3440
* Context: Process context. May sleep while acquiring console lock.
3439
3441
* Return: true if all enabled printers are caught up.
3440
3442
*/
3441
- bool pr_flush (int timeout_ms , bool reset_on_progress )
3443
+ static bool pr_flush (int timeout_ms , bool reset_on_progress )
3442
3444
{
3443
3445
return __pr_flush (NULL , timeout_ms , reset_on_progress );
3444
3446
}
3445
- EXPORT_SYMBOL (pr_flush );
3446
3447
3447
3448
/*
3448
3449
* Delayed printk version, for scheduler-internal messages:
0 commit comments