From patchwork Tue Jan 25 16:04:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 505741 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0PGCCPv023078 for ; Tue, 25 Jan 2011 16:12:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724Ab1AYQMK (ORCPT ); Tue, 25 Jan 2011 11:12:10 -0500 Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]:40782 "EHLO na3sys009aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251Ab1AYQMJ (ORCPT ); Tue, 25 Jan 2011 11:12:09 -0500 Received: from source ([209.85.161.50]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKTT72WGpWfQhLj0vdZFw/i/w1rYB3mJQ2@postini.com; Tue, 25 Jan 2011 08:12:09 PST Received: by fxm14 with SMTP id 14so5797406fxm.37 for ; Tue, 25 Jan 2011 08:11:59 -0800 (PST) Received: by 10.223.107.66 with SMTP id a2mr5917849fap.92.1295971457605; Tue, 25 Jan 2011 08:04:17 -0800 (PST) From: Santosh Shilimkar References: <1295859080-15259-1-git-send-email-santosh.shilimkar@ti.com> <1295859080-15259-4-git-send-email-santosh.shilimkar@ti.com> <20110124110609.GJ16202@n2100.arm.linux.org.uk> <20110124111114.GA19409@n2100.arm.linux.org.uk> <20110125103231.GD11507@n2100.arm.linux.org.uk> <20110125133752.GI13300@n2100.arm.linux.org.uk> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acu8lR4FY88pR9FLRHSxEzxHnyabHwAECkZg In-Reply-To: <20110125133752.GI13300@n2100.arm.linux.org.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Date: Tue, 25 Jan 2011 21:34:15 +0530 Message-ID: <68b4be46e93b4017650bc4bf230afef6@mail.gmail.com> Subject: RE: [PATCH 3/5] ARM: twd: Add context save restore support To: Russell King - ARM Linux , Thomas Gleixner Cc: Colin Cross , catalin.marinas@arm.com, linus.ml.walleij@gmail.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 25 Jan 2011 16:12:19 +0000 (UTC) diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index fd91566..60636f4 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c @@ -36,6 +36,7 @@ static void twd_set_mode(enum clock_event_mode mode, /* timer load already set up */ ctrl = TWD_TIMER_CONTROL_ENABLE | TWD_TIMER_CONTROL_IT_ENABLE | TWD_TIMER_CONTROL_PERIODIC; + __raw_writel(twd_timer_rate / HZ, twd_base + TWD_TIMER_LOAD); break;