From: Kevin Hao Date: Tue, 2 Oct 2007 20:56:04 +0000 (-0700) Subject: [MTD] [NOR] fix ctrl-alt-del can't reboot for intel flash bug X-Git-Tag: v2.6.24-rc1~1364^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a9f88daf6c382fedde4cdddef0b30f1d0a20db;p=pandora-kernel.git [MTD] [NOR] fix ctrl-alt-del can't reboot for intel flash bug When we press ctrl-alt-del,kernel_restart_prepare will invoke cfi_intelext_reboot which will set flash to read array mode, but later when device_shutdown is invoked which may put current work queue to sleep and other process may be scheduled to running and programming flash in not FL_READY mode again. So we can't boot up if this flash is used for bootloader. Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed