From patchwork Sat Sep 14 13:46:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2893341 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 7486A9F1BF for ; Sat, 14 Sep 2013 13:47:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE7EC20257 for ; Sat, 14 Sep 2013 13:47:31 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BABE820184 for ; Sat, 14 Sep 2013 13:47:30 +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 1VKqBW-0002qt-M4; Sat, 14 Sep 2013 13:46:51 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKqBJ-0003m0-Rl; Sat, 14 Sep 2013 13:46:37 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKqBG-0003k1-5R for linux-arm-kernel@lists.infradead.org; Sat, 14 Sep 2013 13:46:34 +0000 Received: by mail-pa0-f51.google.com with SMTP id lf1so3622143pab.24 for ; Sat, 14 Sep 2013 06:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=g7Gye+4rqsvzTvZ2tK6RQaU37uEBAU55LqnBW8PAz2E=; b=xdR4eyhMh+lhNRIspBDArwYoQjisMIGXiF7WjSLo33h7giNQwE1oeMq7V3ub/BfUT7 SuTw2ygwotA4hHv4sInj9DfxfKVH4OhkHI5Xlsm2mxLRiIX6QcYtob9cXD0XSmzBuVQW 6P+M7bbQTmZg1fH2gdEd416G4gtQmfZDWB2wawPiLZZCqzl3BBbhray7FnV6aMWLbmML +j2QIyb553MEjWpVQcbg+Wm+bTSAJM+SlfljQ6xzrJXUML8JKujRbvoEiHZK2IFr4Z8j yNpAhTegmC7BvmIAzPycZLgUkpY1ubU0uETe+1NTbvrIsdIxuRUN1ertclLLJqqA3vIJ rFMw== X-Received: by 10.66.150.232 with SMTP id ul8mr21178939pab.26.1379166372728; Sat, 14 Sep 2013 06:46:12 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id sb9sm18533993pbb.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Sep 2013 06:46:11 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Sat, 14 Sep 2013 22:46:34 +0900 Message-Id: <20130914134634.19258.88978.sendpatchset@w520> In-Reply-To: <20130914134616.19258.27110.sendpatchset@w520> References: <20130914134616.19258.27110.sendpatchset@w520> Subject: [PATCH 02/05] ARM: shmobile: Let sh73a0 rely on SCU CPU notifier X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130914_094634_321165_E3167A18 X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , linux-arm-kernel@lists.infradead.org, arnd@arndb.de 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=-5.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 From: Magnus Damm Now when CPU notifiers are used for SCU boot vector setup shmobile_smp_scu_boot_secondary() is no longer needed. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/smp-sh73a0.c | 5 ----- 1 file changed, 5 deletions(-) --- 0001/arch/arm/mach-shmobile/smp-sh73a0.c +++ work/arch/arm/mach-shmobile/smp-sh73a0.c 2013-09-14 19:28:29.000000000 +0900 @@ -46,11 +46,6 @@ void __init sh73a0_register_twd(void) static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle) { unsigned int lcpu = cpu_logical_map(cpu); - int ret; - - ret = shmobile_smp_scu_boot_secondary(cpu, idle); - if (ret) - return ret; if (((__raw_readl(PSTR) >> (4 * lcpu)) & 3) == 3) __raw_writel(1 << lcpu, WUPCR); /* wake up */