From patchwork Wed Aug 7 22:13:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2840610 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 1F2739F493 for ; Wed, 7 Aug 2013 22:14:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50C6820559 for ; Wed, 7 Aug 2013 22:14:33 +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 609F82054B for ; Wed, 7 Aug 2013 22:14:32 +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 1V7Bzd-0004iZ-7G; Wed, 07 Aug 2013 22:14:09 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7BzS-0007TL-CO; Wed, 07 Aug 2013 22:13:58 +0000 Received: from mail-pb0-x233.google.com ([2607:f8b0:400e:c01::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7BzJ-0007Px-Bo for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 22:13:55 +0000 Received: by mail-pb0-f51.google.com with SMTP id jt11so2412855pbb.24 for ; Wed, 07 Aug 2013 15:13:27 -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=juEIQd6WKuRNzptbBzAn97pc5l5xqokSTfRyR9goKGw=; b=tFn8nRK3eclieesfA0fXPwxki7GBeAarrjbO1qEkwt29sTDZRJJqdBDBSHahweLt6O BJmN2wSy9tkojS35uocV8gN7X4gl0pNO4fhuOeTYJuFseo4O138l3qyZGjC+FSGrnO6s mtHyqkO/xrnjKgSErUxt3ImTxof4TdPcmzlAfKm0nOF1nAsEei4VScSGUOX4LgW95hDn tpDNzpWGBl+vkRCGq5Dg10VbiVi7iA5Jj2zyNRH96Tp5G4Z0Ufod8EOwkt1Aa98Ea/3Z bUdPK829z5MtuBv/oRkqUfgxJxj0kNS2/GwAwkCHwJEru/IYHsDWLrsyA0minrWjdBhE V7Jw== X-Received: by 10.66.217.166 with SMTP id oz6mr2558523pac.22.1375913607722; Wed, 07 Aug 2013 15:13:27 -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 om2sm10274945pbb.34.2013.08.07.15.13.25 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 15:13:26 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 08 Aug 2013 07:13:39 +0900 Message-Id: <20130807221339.22251.99940.sendpatchset@w520> In-Reply-To: <20130807221321.22251.22774.sendpatchset@w520> References: <20130807221321.22251.22774.sendpatchset@w520> Subject: [PATCH 02/05] ARM: shmobile: Use shmobile_smp_cpu_disable() on sh73a0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130807_181349_832295_5A8886F5 X-CRM114-Status: UNSURE ( 8.62 ) 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=-4.1 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=ham 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 Use shmobile_smp_cpu_disable() on sh73a0 since it allows CPU Hotplug of any CPU. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/smp-sh73a0.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) --- 0008/arch/arm/mach-shmobile/smp-sh73a0.c +++ work/arch/arm/mach-shmobile/smp-sh73a0.c 2013-07-29 22:21:29.000000000 +0900 @@ -71,18 +71,11 @@ static void __init sh73a0_smp_prepare_cp shmobile_smp_scu_prepare_cpus(max_cpus); } -#ifdef CONFIG_HOTPLUG_CPU -static int sh73a0_cpu_disable(unsigned int cpu) -{ - return 0; /* CPU0 and CPU1 supported */ -} -#endif /* CONFIG_HOTPLUG_CPU */ - struct smp_operations sh73a0_smp_ops __initdata = { .smp_prepare_cpus = sh73a0_smp_prepare_cpus, .smp_boot_secondary = sh73a0_boot_secondary, #ifdef CONFIG_HOTPLUG_CPU - .cpu_disable = sh73a0_cpu_disable, + .cpu_disable = shmobile_smp_cpu_disable, .cpu_die = shmobile_smp_scu_cpu_die, .cpu_kill = shmobile_smp_scu_cpu_kill, #endif