⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysrq_bugfix.patch

📁 Linux-2.6.18内核调试工具补丁程序KGDB。
💻 PATCH
字号:
It is possible that when SysRq-G is triggered via the keyboard that we willmiss the "up" event and once KGDB lets the kernel go another SysRq will berequired to clear this, without this change.Signed-off-by: Tom Rini <trini@kernel.crashing.org> drivers/char/keyboard.c |    1 + 1 file changed, 1 insertion(+)Index: linux-2.6.15-rc4/drivers/char/keyboard.c===================================================================--- linux-2.6.15-rc4.orig/drivers/char/keyboard.c+++ linux-2.6.15-rc4/drivers/char/keyboard.c@@ -1069,6 +1069,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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -