lkml.org 
[lkml]   [2005]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 13/15] Minor SysRq keyboard bugfix for KGDB
Date
From

CC: George Anzginer <george@mvista.com>
It is possible that when SysRq-G is triggered via the keyboard that we will
miss the "up" event and once KGDB lets the kernel go another SysRq will be
required to clear this, without this change.

---

linux-2.6.13-rc3-trini/drivers/char/keyboard.c | 1 +
1 files changed, 1 insertion(+)

diff -puN drivers/char/keyboard.c~sysrq_bugfix drivers/char/keyboard.c
--- linux-2.6.13-rc3/drivers/char/keyboard.c~sysrq_bugfix 2005-07-29 11:55:34.000000000 -0700
+++ linux-2.6.13-rc3-trini/drivers/char/keyboard.c 2005-07-29 11:55:34.000000000 -0700
@@ -1070,6 +1070,7 @@ static void kbd_keycode(unsigned int key
}
if (sysrq_down && down && !rep) {
handle_sysrq(kbd_sysrq_xlate[keycode], regs, tty);
+ sysrq_down = 0; /* In case we miss the 'up' event. */
return;
}
#endif
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-07-29 23:32    [W:0.308 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site