From: Xu Qiang xuqiang36@huawei.com
ascend inclusion category: feature bugzilla: NA CVE: NA
-------------------------------------------------
Export console_flush_on_panic for bbox to use.
Signed-off-by: Xu Qiang xuqiang36@huawei.com Signed-off-by: Fang Lijun fanglijun3@huawei.com Reviewed-by: Ding Tianhong dingtianhong@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- kernel/printk/printk.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index bdc6cae8c83a..e25c3102b8f3 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2572,6 +2572,7 @@ void console_flush_on_panic(void) console_may_schedule = 0; console_unlock(); } +EXPORT_SYMBOL(console_flush_on_panic);
/* * Return the console tty driver structure and its associated index