diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-12 17:52:52 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-12 17:52:52 -0400 |
| commit | 32ea89ecb25789b1b7db28146558587a42f3b372 (patch) | |
| tree | c5b3b33523b353f2eab2d8dcd2b3f069826cdc48 /kernel/signal.c | |
| parent | 58a7ce64426394a46e80cdc9440cc1e7c195e85d (diff) | |
| parent | a145410dccdb44f81d3b56763ef9b6f721f4e47c (diff) | |
Merge branch 'master'
Diffstat (limited to 'kernel/signal.c')
| -rw-r--r-- | kernel/signal.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 92025b108791..b14f895027c3 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
| @@ -769,8 +769,7 @@ specific_send_sig_info(int sig, struct siginfo *info, struct task_struct *t) | |||
| 769 | { | 769 | { |
| 770 | int ret = 0; | 770 | int ret = 0; |
| 771 | 771 | ||
| 772 | if (!irqs_disabled()) | 772 | BUG_ON(!irqs_disabled()); |
| 773 | BUG(); | ||
| 774 | assert_spin_locked(&t->sighand->siglock); | 773 | assert_spin_locked(&t->sighand->siglock); |
| 775 | 774 | ||
| 776 | /* Short-circuit ignored signals. */ | 775 | /* Short-circuit ignored signals. */ |
| @@ -869,7 +868,6 @@ __group_complete_signal(int sig, struct task_struct *p) | |||
| 869 | if (t == NULL) | 868 | if (t == NULL) |
| 870 | /* restart balancing at this thread */ | 869 | /* restart balancing at this thread */ |
| 871 | t = p->signal->curr_target = p; | 870 | t = p->signal->curr_target = p; |
| 872 | BUG_ON(t->tgid != p->tgid); | ||
| 873 | 871 | ||
| 874 | while (!wants_signal(sig, t)) { | 872 | while (!wants_signal(sig, t)) { |
| 875 | t = next_thread(t); | 873 | t = next_thread(t); |
| @@ -1384,8 +1382,7 @@ send_group_sigqueue(int sig, struct sigqueue *q, struct task_struct *p) | |||
| 1384 | * the overrun count. Other uses should not try to | 1382 | * the overrun count. Other uses should not try to |
| 1385 | * send the signal multiple times. | 1383 | * send the signal multiple times. |
| 1386 | */ | 1384 | */ |
| 1387 | if (q->info.si_code != SI_TIMER) | 1385 | BUG_ON(q->info.si_code != SI_TIMER); |
| 1388 | BUG(); | ||
| 1389 | q->info.si_overrun++; | 1386 | q->info.si_overrun++; |
| 1390 | goto out; | 1387 | goto out; |
| 1391 | } | 1388 | } |
