From patchwork Sat Feb 8 06:02:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 3609071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 639029F3AE for ; Sat, 8 Feb 2014 06:03:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC3AE2017B for ; Sat, 8 Feb 2014 06:03:23 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB20520109 for ; Sat, 8 Feb 2014 06:03:22 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WC10M-0008NF-QP; Sat, 08 Feb 2014 06:03:06 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WC10K-0007uc-Fs; Sat, 08 Feb 2014 06:03:04 +0000 Received: from mail-we0-f176.google.com ([74.125.82.176]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WC10G-0007tt-Bm for linux-arm-kernel@lists.infradead.org; Sat, 08 Feb 2014 06:03:01 +0000 Received: by mail-we0-f176.google.com with SMTP id q58so2827126wes.7 for ; Fri, 07 Feb 2014 22:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=6qDGSO5mf7KLeUSU+VAR0MfezblAv7FpA11X2G2Rv5w=; b=C4t0qdxivr2/xj//Ttj7/Hs9f9K5t+0u8ZDBUFTpgZM9YnXod9g8UDHWzPE7MI5yOR 0CxXR38H/voK/0NSAxHNTh/7TY3YiRpKkUFwgLJLNR5NI+f3DrFt02eRzGW0tC/+lLB8 vxdUoUyNWtRtiPPcs2PspE4WKARC+XjqQ8v+DSIitRQY7GdRuuFmEQwC3c0XZrthG0Ma 536yyQecCMTgSAozNA+EOkZANH5qTnsbT/TDhbotbwb2QuJxavMK1Vu7DF5NBqWgLEUB HsOF/Z2zAqQoaOFnZl36567uol1Yx+mic5RnDnw8DP70Hl6qq2X40+R4zWrcFfa2qRN0 WrTQ== X-Received: by 10.180.77.200 with SMTP id u8mr2605437wiw.48.1391839352081; Fri, 07 Feb 2014 22:02:32 -0800 (PST) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id ff9sm14566908wib.11.2014.02.07.22.02.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 07 Feb 2014 22:02:31 -0800 (PST) From: Soren Brinkmann To: Russell King Subject: [PATCH] ARM: smp_twd: Set the CLOCK_EVT_FEAT_PERCPU flag Date: Fri, 7 Feb 2014 22:02:09 -0800 Message-Id: <1391839329-30971-1-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.5.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140208_010300_521183_083DD088 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Soren Brinkmann , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The twd timers are per CPU devices. Set the corresponding flag to mark them as such. Signed-off-by: Soren Brinkmann --- arch/arm/kernel/smp_twd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index 6591e26fc13f..85407473c97d 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c @@ -294,7 +294,7 @@ static void twd_timer_setup(void) clk->name = "local_timer"; clk->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | - CLOCK_EVT_FEAT_C3STOP; + CLOCK_EVT_FEAT_C3STOP | CLOCK_EVT_FEAT_PERCPU; clk->rating = 350; clk->set_mode = twd_set_mode; clk->set_next_event = twd_set_next_event;