ARM: add option to flush console before reboot
[firefly-linux-kernel-4.4.55.git] / arch / arm / Kconfig
index 34e1569a11ee322a0a020bdfe0c9b801b6b58c12..88a56444749a61f0a120f13519e77ab7e401f70e 100644 (file)
@@ -1816,6 +1816,15 @@ config XEN
        help
          Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
 
+config ARM_FLUSH_CONSOLE_ON_RESTART
+       bool "Force flush the console on restart"
+       help
+         If the console is locked while the system is rebooted, the messages
+         in the temporary logbuffer would not have propogated to all the
+         console drivers. This option forces the console lock to be
+         released if it failed to be acquired, which will cause all the
+         pending messages to be flushed.
+
 endmenu
 
 menu "Boot options"