diff options
Diffstat (limited to 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index bf0420a92a1..5417784a76b 100644 --- a/kernel/printk.c +++ b/kernel/printk.c | |||
@@ -1332,6 +1332,7 @@ void register_console(struct console *newcon) | |||
1332 | spin_unlock_irqrestore(&logbuf_lock, flags); | 1332 | spin_unlock_irqrestore(&logbuf_lock, flags); |
1333 | } | 1333 | } |
1334 | release_console_sem(); | 1334 | release_console_sem(); |
1335 | console_sysfs_notify(); | ||
1335 | 1336 | ||
1336 | /* | 1337 | /* |
1337 | * By unregistering the bootconsoles after we enable the real console | 1338 | * By unregistering the bootconsoles after we enable the real console |
@@ -1390,6 +1391,7 @@ int unregister_console(struct console *console) | |||
1390 | console_drivers->flags |= CON_CONSDEV; | 1391 | console_drivers->flags |= CON_CONSDEV; |
1391 | 1392 | ||
1392 | release_console_sem(); | 1393 | release_console_sem(); |
1394 | console_sysfs_notify(); | ||
1393 | return res; | 1395 | return res; |
1394 | } | 1396 | } |
1395 | EXPORT_SYMBOL(unregister_console); | 1397 | EXPORT_SYMBOL(unregister_console); |