Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb: kgdboc,input: Fix regression with keyboard release key and early debugging
This commit is contained in:
commit
3373c3ddb2
|
@ -90,7 +90,8 @@ static DECLARE_WORK(kgdboc_restore_input_work, kgdboc_restore_input_helper);
|
|||
|
||||
static void kgdboc_restore_input(void)
|
||||
{
|
||||
schedule_work(&kgdboc_restore_input_work);
|
||||
if (likely(system_state == SYSTEM_RUNNING))
|
||||
schedule_work(&kgdboc_restore_input_work);
|
||||
}
|
||||
|
||||
static int kgdboc_register_kbd(char **cptr)
|
||||
|
|
Loading…
Reference in a new issue