From: James S. <jsi...@us...> - 2001-10-08 18:28:09
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/char In directory usw-pr-cvs1:/tmp/cvs-serv3957 Modified Files: sysrq.c Log Message: VC_XLATE is only defined when CONFIG_VT is set. Index: sysrq.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/char/sysrq.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- sysrq.c 2001/10/06 16:11:13 1.14 +++ sysrq.c 2001/10/08 18:28:04 1.15 @@ -79,8 +79,10 @@ /* unraw sysrq handler */ static void sysrq_handle_unraw(int key, struct pt_regs *pt_regs, struct kbd_struct *kbd, struct tty_struct *tty) { +#if CONFIG_VT if (kbd) kbd->kbdmode = VC_XLATE; +#endif } static struct sysrq_key_op sysrq_unraw_op = { handler: sysrq_handle_unraw, |