Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201157
b: refs/heads/master
c: edd63cb
h: refs/heads/master
i:
  201155: 3da3443
v: v3
  • Loading branch information
Jason Wessel committed Jul 22, 2010
1 parent f0b73e1 commit 1a7aef4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: b0679c63db655fa12007558e267bc0eb1d486fdb
refs/heads/master: edd63cb6b91024332d6983fc51058ac1ef0c081e
2 changes: 1 addition & 1 deletion trunk/drivers/char/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ static void __sysrq_put_key_op(int key, struct sysrq_key_op *op_p)
sysrq_key_table[i] = op_p;
}

static void __handle_sysrq(int key, struct tty_struct *tty, int check_mask)
void __handle_sysrq(int key, struct tty_struct *tty, int check_mask)
{
struct sysrq_key_op *op_p;
int orig_log_level;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/sysrq.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ struct sysrq_key_op {
*/

void handle_sysrq(int key, struct tty_struct *tty);
void __handle_sysrq(int key, struct tty_struct *tty, int check_mask);
int register_sysrq_key(int key, struct sysrq_key_op *op);
int unregister_sysrq_key(int key, struct sysrq_key_op *op);
struct sysrq_key_op *__sysrq_get_key_op(int key);
Expand Down
3 changes: 1 addition & 2 deletions trunk/kernel/debug/kdb/kdb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1820,9 +1820,8 @@ static int kdb_sr(int argc, const char **argv)
{
if (argc != 1)
return KDB_ARGCOUNT;
sysrq_toggle_support(1);
kdb_trap_printk++;
handle_sysrq(*argv[1], NULL);
__handle_sysrq(*argv[1], NULL, 0);
kdb_trap_printk--;

return 0;
Expand Down

0 comments on commit 1a7aef4

Please sign in to comment.