Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273AbbBMXYp (ORCPT ); Fri, 13 Feb 2015 18:24:45 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:57360 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751887AbbBMXYn (ORCPT ); Fri, 13 Feb 2015 18:24:43 -0500 Date: Fri, 13 Feb 2015 18:24:37 -0500 From: Simon Horman To: Russell King - ARM Linux Cc: Stephen Boyd , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mark Rutland , Nicolas Pitre , Dave Martin , Magnus Damm , linux-sh@vger.kernel.org Subject: Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable Message-ID: <20150213232435.GA21924@verge.net.au> References: <1423850799-4028-1-git-send-email-sboyd@codeaurora.org> <20150213202002.GB29727@verge.net.au> <20150213225704.GF8656@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150213225704.GF8656@n2100.arm.linux.org.uk> Organisation: Horms Solutions Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 22 On Fri, Feb 13, 2015 at 10:57:04PM +0000, Russell King - ARM Linux wrote: > On Fri, Feb 13, 2015 at 03:20:04PM -0500, Simon Horman wrote: > > > -static int r8a7779_cpu_disable(unsigned int cpu) > > > -{ > > > - /* only CPU1->3 have power domains, do not allow hotplug of CPU0 */ > > > - return cpu == 0 ? -EPERM : 0; > > > -} > ... > > Its not clear to me why r8a7779_cpu_disable() has been > > removed rather than replaced by r8a7779_cpu_can_disable() > > This is the default if you don't provide a cpu_disable function, so it > should be removed irrespective of this patch. Thanks and agreed. I'd be quite happy to take such a patch through my tree. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/