diff --git a/[refs] b/[refs] index 23d16817bf6c..c8745826b62c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 524223ca8142d593124bde66f3ffa1deb6f56c06 +refs/heads/master: fda8bd78a15950b9b01a1c1477a9095cb08c27c1 diff --git a/trunk/kernel/signal.c b/trunk/kernel/signal.c index 92025b108791..5ccaac505e8d 100644 --- a/trunk/kernel/signal.c +++ b/trunk/kernel/signal.c @@ -769,8 +769,7 @@ specific_send_sig_info(int sig, struct siginfo *info, struct task_struct *t) { int ret = 0; - if (!irqs_disabled()) - BUG(); + BUG_ON(!irqs_disabled()); assert_spin_locked(&t->sighand->siglock); /* Short-circuit ignored signals. */ @@ -1384,8 +1383,7 @@ send_group_sigqueue(int sig, struct sigqueue *q, struct task_struct *p) * the overrun count. Other uses should not try to * send the signal multiple times. */ - if (q->info.si_code != SI_TIMER) - BUG(); + BUG_ON(q->info.si_code != SI_TIMER); q->info.si_overrun++; goto out; }