Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3051491imm; Tue, 4 Sep 2018 14:37:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYpRnJul9yo818Z5LUQ5yIez/j/FznaxkYgnmRwn+Oz2rKjftOOBKEVd207oNEhBwsY2OtV X-Received: by 2002:a17:902:b089:: with SMTP id p9-v6mr34709012plr.254.1536097076137; Tue, 04 Sep 2018 14:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536097076; cv=none; d=google.com; s=arc-20160816; b=cEGlWR0knlkWhL0o1URQn4Mw+jezFj1a7aFM1/PINIoaeeN+2xO04/klpbDXPAK6v2 A33A4itULbu9iocrq5ZDsz89YYwA2TytDhDP+dESdkyFbEbQC4NofBvgEANXhM9AKaRl 41fZOenWqc/FZzzrp8aVlH3fjRk6wqFHhT5vqDw9pjclFK6fq1+MPtMlv0KBt8/ce6iu DWcb7BgliiSPo/wbBEUW0SKT5EXMnhSKIOD8sLkWsRLR6u6V981Ksa75MnZLnKvxSbSt bzmO4N4RICWCvfrtC458vhIf1QQGFr3jBCG9QAvqa3MSq40oYlZA/+zBrgd0hN3mHd4H 2gSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=UA3ALT7bsP3i2XR4sqn/YEQyA8tBsG62C1tUE+UnJ54=; b=RtaCR8xV/HrSFBecUacZEl179lIs3JuPiMd2Km7kUcpDwEbMtGUIr7fMIopDjODy02 gNRxLlm64IulIH7w631JoHJK9yUywK3P8P6x8WcJgAOa+pKvYiJgXQcgQHMebZWxgMtX VDX98LQ5srOMQsO1c5ixvET2e7bug0LBMW2LNjSgiRrX+9DJ6DW/13QbEDs6+aRl5g6X gQK2BfJAEKY2qypUFGhAd44LjSXgfhDRpDrOctkg5/WJaPQXUfGBBAOepdDe6gYb872C 0/S2sJ0l+cOAHG5kNEmR6m9inzdyjdOaBa6jYu1Ohl0mJMbCS2GcQSGj/qCejGz8KB2j ZkDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WrWUWOMV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19-v6si18118971pfj.43.2018.09.04.14.37.41; Tue, 04 Sep 2018 14:37:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WrWUWOMV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727462AbeIECD3 (ORCPT + 99 others); Tue, 4 Sep 2018 22:03:29 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33928 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726706AbeIECD3 (ORCPT ); Tue, 4 Sep 2018 22:03:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UA3ALT7bsP3i2XR4sqn/YEQyA8tBsG62C1tUE+UnJ54=; b=WrWUWOMVB4Imbpvd8qyktjvvM FvF+dNG3e/StmZ/329WRJfkxA6prle4NZPcIP8P5/00N5ljAcCE4Srp8zLFkwzlHW0WM+aY0XGpH/ 1MxWxVqWwWiqOB979gGiWmG4VAWiuxvlgZNN2hHm/w1ne7OiOzQAx35Syq45qXW7VkyxXEPbn/cOa y5pM5wc9BaD380tdVJTq29LR950ae/JHqYCBTxQCBSP0i6maQSw3l8Vxr//VJNYTwN/Vw9FCX7MQI Wl+2Kbxjwcds9nqMAmWx48qgLGk9wydTZ4JBlQhfybEn8hpnWlclDABsBNPJEN+U2wl5GUrh5WVaa tdgFI5ZyA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxIzn-0002VQ-Id; Tue, 04 Sep 2018 21:36:23 +0000 Date: Tue, 4 Sep 2018 14:36:23 -0700 From: Christoph Hellwig To: Atish Patra Cc: Christoph Hellwig , "palmer@sifive.com" , "linux-riscv@lists.infradead.org" , "mark.rutland@arm.com" , "anup@brainfault.org" , "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "damein@vger.kernel.org" Subject: Re: [PATCH v2 3/3] RISC-V: Support cpu hotplug. Message-ID: <20180904213623.GA2078@infradead.org> References: <1535445370-19004-1-git-send-email-atish.patra@wdc.com> <1535445370-19004-4-git-send-email-atish.patra@wdc.com> <20180831061859.GC19292@infradead.org> <0d439b9d-b3d0-7d2c-117b-abb37adf769c@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0d439b9d-b3d0-7d2c-117b-abb37adf769c@wdc.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 04, 2018 at 11:08:35AM -0700, Atish Patra wrote: > > I have kept it here to match all other arch. Same goes for all hotplug > functions in smpboot.c > > I can move them to a separate file if you think that provides better code > readability and structure. I don't really have a strong opinion, but keeping this code together and reducing the ifdef maze seems worthwile to me.