Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754340AbZFZIQl (ORCPT ); Fri, 26 Jun 2009 04:16:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751910AbZFZIQ0 (ORCPT ); Fri, 26 Jun 2009 04:16:26 -0400 Received: from mail-pz0-f202.google.com ([209.85.222.202]:58742 "EHLO mail-pz0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751839AbZFZIQZ (ORCPT ); Fri, 26 Jun 2009 04:16:25 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=DgkdBRs5ZC9JBCFMoOHxNcOY4vxXi2QZjWLiJHdth8It4qAEg/dbZ6gAzmiWJzar2M NIxzuUxbZdz5f2/mgJkVzwb0A2JKGvZoRg4+uz5cVJuE/oJL8LoKcxrnyjWTtJpte5nJ D97eelw7gV5chEpk2KLb2a2w9wO1WXYJX/MF4= From: Wu Zhangjin To: LKML Cc: Wu Zhangjin , Thomas Gleixner , Ingo Molnar Subject: [PATCH -rt] softirq: fix undefined rate_limit in softirq_check_pending_idle Date: Fri, 26 Jun 2009 15:46:13 +0800 Message-Id: X-Mailer: git-send-email 1.6.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 35 From: Wu Zhangjin on !PREEMPT_RT, there is a defined ratelimit in softirq_check_pending_idel(), but used as rate_limit, so, defining rate_limit instead of ratelimit will fix it. Signed-off-by: Wu Zhangjin --- kernel/softirq.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/softirq.c b/kernel/softirq.c index 00b4638..38b44c9 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -155,9 +155,9 @@ void softirq_check_pending_idle(void) */ void softirq_check_pending_idle(void) { - static int ratelimit; + static int rate_limit; - if (ratelimit < 10) { + if (rate_limit < 10) { printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n", local_softirq_pending()); rate_limit++; -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/