Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289278
b: refs/heads/master
c: e502bab
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent be31b83 commit 9efd5d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f56d0f43656deb98c6366a133a75b5a7cf73a26
refs/heads/master: e502babe0a85226f2417b60a8710cf8192879180
2 changes: 2 additions & 0 deletions trunk/drivers/tty/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,13 @@ static void send_sig_all(int sig)
{
struct task_struct *p;

read_lock(&tasklist_lock);
for_each_process(p) {
if (p->mm && !is_global_init(p))
/* Not swapper, init nor kernel thread */
force_sig(sig, p);
}
read_unlock(&tasklist_lock);
}

static void sysrq_handle_term(int key)
Expand Down

0 comments on commit 9efd5d9

Please sign in to comment.