summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-05 09:52:46 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-05 09:52:46 -0800
commit0bf7969feae831ede7276f7cc73b586ce0902374 (patch)
treebea9a7ae996d35cba0b111c03535a9c8fa2bdcf6 /kernel
parent69f061e0c2ed47304b3eeac7fb7bd5268652dc50 (diff)
parente5af02261668350b43eb7381648930bde8e872f7 (diff)
downloadlinux-0bf7969feae831ede7276f7cc73b586ce0902374.tar.bz2
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.c2
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;