X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fhung_task.c;h=0c642d51aac2d8ab82c782a786eb13b90c0985c1;hb=48b1aff5b93521c5ad90842bef52b218ac50a4ab;hp=d4e84174740018f30bdf8aa02d62e8799676a938;hpb=a58695bb9d63764da9607bf1e7ff09ef03b190a8;p=pandora-kernel.git diff --git a/kernel/hung_task.c b/kernel/hung_task.c index d4e841747400..0c642d51aac2 100644 --- a/kernel/hung_task.c +++ b/kernel/hung_task.c @@ -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;