diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-05 18:52:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-05 18:52:46 +0100 |
commit | 0bf7969feae831ede7276f7cc73b586ce0902374 (patch) | |
tree | bea9a7ae996d35cba0b111c03535a9c8fa2bdcf6 /kernel | |
parent | Merge branch 'core-signal-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
parent | softlockup: Fix hung_task_check_count sysctl (diff) | |
download | linux-0bf7969feae831ede7276f7cc73b586ce0902374.tar.xz linux-0bf7969feae831ede7276f7cc73b586ce0902374.zip |
Merge branch 'core-softlockup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-softlockup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
softlockup: Fix hung_task_check_count sysctl
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/hung_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |