diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-05 09:52:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-05 09:52:46 -0800 |
commit | 0bf7969feae831ede7276f7cc73b586ce0902374 (patch) | |
tree | bea9a7ae996d35cba0b111c03535a9c8fa2bdcf6 /kernel | |
parent | 69f061e0c2ed47304b3eeac7fb7bd5268652dc50 (diff) | |
parent | e5af02261668350b43eb7381648930bde8e872f7 (diff) |
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 d4e84174740..0c642d51aac 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; |