From patchwork Sat Sep 14 13:47:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2893371 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 581949F1BF for ; Sat, 14 Sep 2013 13:49:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D62520257 for ; Sat, 14 Sep 2013 13:49:06 +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 8720B20184 for ; Sat, 14 Sep 2013 13:49:05 +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 1VKqCI-0003GZ-7E; Sat, 14 Sep 2013 13:47:40 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKqBl-0003oV-BX; Sat, 14 Sep 2013 13:47:05 +0000 Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKqBi-0003mU-73 for linux-arm-kernel@lists.infradead.org; Sat, 14 Sep 2013 13:47:03 +0000 Received: by mail-pb0-f42.google.com with SMTP id un15so2351038pbc.29 for ; Sat, 14 Sep 2013 06:46:40 -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=rr2lZode/BLAKZYbLwZ7PIoqdWK9fPwXbVoSGpPDb6g=; b=aSO7k5wYoXU4EJXPj28BhF2+peLnWd7MwOHcB6KxeDoAxAWQBv5gFdvgH2d7WNWMvV g5yre047Nr2IKIZ4X0JsrmdyyaFufj2ZMAJpoqeLKNS8dkL+Q3cenP/aP/LMfGVl7xaB Q6Yw1hvlm3kDKnD7XvZdoT+GWg2RCh7DNknDshXaPve7w6PCeRuDyq+XJn/XffIyQVHd GxkHrtDPOI/8j+GcdckTvb7igIeQLKhbK99nWghR0HryAKBKu5FsWhRCmfVFMb7jnPUC lKVH8+w+Eb14rvLTunqP9EKzk1xTja0IrNQjJNytHNj+OD/QCBKyxhD/Dqgi8SvVX0ro Qo7A== X-Received: by 10.68.183.131 with SMTP id em3mr19092941pbc.56.1379166400539; Sat, 14 Sep 2013 06:46:40 -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 kd1sm25203433pab.20.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Sep 2013 06:46:39 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Sat, 14 Sep 2013 22:47:02 +0900 Message-Id: <20130914134702.19258.11610.sendpatchset@w520> In-Reply-To: <20130914134616.19258.27110.sendpatchset@w520> References: <20130914134616.19258.27110.sendpatchset@w520> Subject: [PATCH 05/05] ARM: shmobile: Remove shmobile_smp_scu_boot_secondary() X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130914_094702_382242_9B9CA728 X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , arnd@arndb.de, 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=-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 Remove shmobile_smp_scu_boot_secondary() since it is no longer used. CPU boot vector setup is instead handled by CPU notifiers. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/include/mach/common.h | 2 -- arch/arm/mach-shmobile/platsmp-scu.c | 8 -------- 2 files changed, 10 deletions(-) --- 0001/arch/arm/mach-shmobile/include/mach/common.h +++ work/arch/arm/mach-shmobile/include/mach/common.h 2013-09-14 19:38:47.000000000 +0900 @@ -18,8 +18,6 @@ extern int shmobile_smp_cpu_disable(unsi extern void shmobile_invalidate_start(void); extern void shmobile_boot_scu(void); extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); -extern int shmobile_smp_scu_boot_secondary(unsigned int cpu, - struct task_struct *idle); extern void shmobile_smp_scu_cpu_die(unsigned int cpu); extern int shmobile_smp_scu_cpu_kill(unsigned int cpu); extern void shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus); --- 0004/arch/arm/mach-shmobile/platsmp-scu.c +++ work/arch/arm/mach-shmobile/platsmp-scu.c 2013-09-14 19:39:01.000000000 +0900 @@ -59,14 +59,6 @@ void __init shmobile_smp_scu_prepare_cpu register_cpu_notifier(&shmobile_smp_scu_notifier); } -int shmobile_smp_scu_boot_secondary(unsigned int cpu, struct task_struct *idle) -{ - /* For this particular CPU register SCU boot vector */ - shmobile_smp_hook(cpu, virt_to_phys(shmobile_boot_scu), - (unsigned long)shmobile_scu_base); - return 0; -} - #ifdef CONFIG_HOTPLUG_CPU void shmobile_smp_scu_cpu_die(unsigned int cpu) {