Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174238
b: refs/heads/master
c: 0c09b2a
h: refs/heads/master
v: v3
  • Loading branch information
Alan Jenkins authored and Dmitry Torokhov committed Nov 20, 2009
1 parent 55fadd1 commit d4bc4df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71bb21b677e89a2b438b804231f92b779beda5d7
refs/heads/master: 0c09b2ac35ff7c5f280e5cf8142ad0822f1c93b3
4 changes: 2 additions & 2 deletions trunk/drivers/char/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ static int emulate_raw(struct vc_data *vc, unsigned int keycode, unsigned char u
static void kbd_rawcode(unsigned char data)
{
struct vc_data *vc = vc_cons[fg_console].d;
kbd = kbd_table + fg_console;
kbd = kbd_table + vc->vc_num;
if (kbd->kbdmode == VC_RAW)
put_queue(vc, data);
}
Expand All @@ -1157,7 +1157,7 @@ static void kbd_keycode(unsigned int keycode, int down, int hw_raw)
tty->driver_data = vc;
}

kbd = kbd_table + fg_console;
kbd = kbd_table + vc->vc_num;

if (keycode == KEY_LEFTALT || keycode == KEY_RIGHTALT)
sysrq_alt = down ? keycode : 0;
Expand Down

0 comments on commit d4bc4df

Please sign in to comment.