Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200489
b: refs/heads/master
c: f5dec51
h: refs/heads/master
i:
  200487: b5368c8
v: v3
  • Loading branch information
Dmitry Torokhov committed Jun 9, 2010
1 parent 95d868a commit 339c0ef
Show file tree
Hide file tree
Showing 2 changed files with 7 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: cd9b6fdf798841eb15253f928e762eee5260d347
refs/heads/master: f5dec51172b81db226a23f309bc737ad021af35b
8 changes: 6 additions & 2 deletions trunk/drivers/char/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,12 @@ static bool sysrq_filter(struct input_handle *handle, unsigned int type,
case KEY_RIGHTALT:
if (value)
sysrq_alt = code;
else if (sysrq_down && code == sysrq_alt_use)
sysrq_down = false;
else {
if (sysrq_down && code == sysrq_alt_use)
sysrq_down = false;

sysrq_alt = 0;
}
break;

case KEY_SYSRQ:
Expand Down

0 comments on commit 339c0ef

Please sign in to comment.