ptrace: copy_process() should disable stepping
[linux-2.6-block.git] / kernel / hung_task.c
index d4e84174740018f30bdf8aa02d62e8799676a938..0c642d51aac2d8ab82c782a786eb13b90c0985c1 100644 (file)
@@ -144,7 +144,7 @@ static void check_hung_uninterruptible_tasks(unsigned long timeout)
 
        rcu_read_lock();
        do_each_thread(g, t) {
-               if (!--max_count)
+               if (!max_count--)
                        goto unlock;
                if (!--batch_count) {
                        batch_count = HUNG_TASK_BATCHING;