ARM: add option to flush console before reboot
authorDima Zavin <dima@android.com>
Tue, 23 Aug 2011 22:56:50 +0000 (15:56 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:23:10 +0000 (12:23 -0800)
commita66187787262dd803174c31c9ca91906c4d5c695
treed7b7fbce3aca054c674c6d7461a34ebbafe69fe3
parentba99f5f0d665703d30f7c51ca18cb3a5b6e98949
ARM: add option to flush console before reboot

If the console_lock was held while the system was rebooted, the messages
in the temporary logbuffer would not have propogated to all the console
drivers.

This force releases the console lock if it failed to be acquired.

Change-Id: I193dcf7b968be17966833e50b8b8bc70d5d9fe89
Signed-off-by: Dima Zavin <dima@android.com>
arch/arm/Kconfig
arch/arm/kernel/process.c