From patchwork Sat Jun 25 22:10:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 918802 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5PMBNbI019622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 25 Jun 2011 22:11:44 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qab48-0003rX-49; Sat, 25 Jun 2011 22:11:00 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qab45-00034b-Fm; Sat, 25 Jun 2011 22:10:57 +0000 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qab3Y-0002yW-Vw for linux-arm-kernel@lists.infradead.org; Sat, 25 Jun 2011 22:10:26 +0000 Received: by wwf22 with SMTP id 22so2684877wwf.18 for ; Sat, 25 Jun 2011 15:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=sBJ7mm11JcG4xu/lCy7d3gpIldJWvsucu9nSBf5H2EY=; b=mEqjDO3b9cS10CGYZ4yD+/gcvNzLSZCuEUxTudR+5HCFR8+HpxLPsyHIi3tHVFFz3Y 8SjdjWF1LtcacijCSC1UzQ8bATLzq6ds6+Jz02bqKXl/b9z9rpq232Gy8Fe4bhxrJSjt e/XYejN+0lfdfm2NwOcZQQMeLIR519Pmj49gE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; b=UxhvZ68OkCN8nz6ga5wSYt8g30jf6cJvAB6orGdmE4cVLRdPml8U8BFaGiqwfisQMK HcaYvdGwiwWlHHRvdFWJ3e/U+b09kPoIy5pplPRBDrOiNVNAn5jucXgVthYZkwOFAbWs BQT0qTUvyM2Y19H9LQ90SheGkLGzpRDCd1xP4= Received: by 10.216.168.16 with SMTP id j16mr4224300wel.20.1309039819975; Sat, 25 Jun 2011 15:10:19 -0700 (PDT) Received: from localhost ([89.127.177.74]) by mx.google.com with ESMTPS id w10sm2043178weq.27.2011.06.25.15.10.18 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 25 Jun 2011 15:10:18 -0700 (PDT) From: Bryan Wu To: linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, rpurdie@rpsys.net, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] ARM: use new LEDS CPU trigger stub to replace old one Date: Sun, 26 Jun 2011 06:10:02 +0800 Message-Id: <1309039804-659-3-git-send-email-bryan.wu@canonical.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1309039804-659-1-git-send-email-bryan.wu@canonical.com> References: <1309039804-659-1-git-send-email-bryan.wu@canonical.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110625_181025_264251_471F80BA X-CRM114-Status: GOOD ( 11.87 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [89.127.177.74 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (cooloney[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 25 Jun 2011 22:11:44 +0000 (UTC) Cc: Linus Walleij Signed-off-by: Bryan Wu --- arch/arm/kernel/process.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 5e1e541..d3b70cc 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -30,9 +30,9 @@ #include #include #include +#include #include -#include #include #include #include @@ -183,7 +183,7 @@ void cpu_idle(void) /* endless idle loop with no priority at all */ while (1) { tick_nohz_stop_sched_tick(1); - leds_event(led_idle_start); + ledtrig_cpu(CPU_LED_IDLE_START); while (!need_resched()) { #ifdef CONFIG_HOTPLUG_CPU if (cpu_is_offline(smp_processor_id())) @@ -207,7 +207,7 @@ void cpu_idle(void) local_irq_enable(); } } - leds_event(led_idle_end); + ledtrig_cpu(CPU_LED_IDLE_END); tick_nohz_restart_sched_tick(); preempt_enable_no_resched(); schedule();