Received: by 10.213.65.68 with SMTP id h4csp2834241imn; Mon, 9 Apr 2018 09:45:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Cs0E/mCWHNkeapI+JK6NTvyNGyU2klgA4alxWtSYTGN1P0ObLl34bApTueMi94Ud/omGv X-Received: by 2002:a17:902:8546:: with SMTP id d6-v6mr1721355plo.106.1523292303704; Mon, 09 Apr 2018 09:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523292303; cv=none; d=google.com; s=arc-20160816; b=bnAkLJAoRiaQsjgo1qKvjX7r/0hM36GzVkuaTxVOfyWzkJatWUbFJxm7Y1QvECJa+y 1ZJE1iqi13+7QHdRLC+e0nBPA9AAw5P8f+pbdx5d1KXnFoZsKzs38JnhOeds2E/kCnYD 6Fb7+lSsXYyiIGWH8+/ZDfDyVL6+1ZEXakLfhcz/OjtfZy+XgIqPMdwDncNMxB5rFGkU 6RsQgTRdW9z58GIghlK/54teYVaWAXARLMupT0qK+O43nYsFLUji4yXV7yKZ8I38KBjZ zKhRwWIiyPWP92100ps7XZnX0OebOh6CFybQJ/6VpTVnalrcGH/J0gzDeoBjCjd0I1CU MARQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=ixJHjDx9lSBxnUN5eUFIaqSPm6d37wWVfSchaVIEPAs=; b=JH2C7hTfHhRT286QCnnPe3GLY240bJ0vyEwh6l5n4BtJ9E3/YRIJAml2KVb/58ymrv jWc1qZJIAqi9ylRpMUJ6/zhjp7P0A2UmwO7RuQVy+YvknG3cspJZnX+LcIpeFq8TDybk XlSQ2GKLoM0aM8CpcGePZRV8sGTK3dySvHFvf+Fh5MBCfungrGttdmfTSeh2NznBv7NE MrC99ZSql+u14QHVcfEiAtN3eriJXzQP1y3A8gJ6tMYV8vI2eNQzHXgDAVUFjFJBNQGv nOj+0V9SES+wjWhWXyMHZ7nLhNtqmqYE5U2Rr4UaY6aBLhoV3Rfo6saXy8Jq7yAcIOnK sF7g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b5si456273pgc.150.2018.04.09.09.44.26; Mon, 09 Apr 2018 09:45:03 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbeDIQkk (ORCPT + 99 others); Mon, 9 Apr 2018 12:40:40 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:60912 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751662AbeDIQkj (ORCPT ); Mon, 9 Apr 2018 12:40:39 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 0C5CB10C093A; Mon, 9 Apr 2018 09:40:39 -0700 (PDT) Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2-vip.internal.synopsys.com [10.12.239.238]) by mailhost.synopsys.com (Postfix) with ESMTP id BBED93971; Mon, 9 Apr 2018 09:40:38 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 9 Apr 2018 09:40:38 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.103) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 9 Apr 2018 22:10:36 +0530 Received: from [10.10.161.84] (10.10.161.84) by IN01WEHTCA.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 9 Apr 2018 22:10:35 +0530 Subject: Re: [PATCH v6 04/16] arc: Switch to generic free_initrd_mem. To: Shea Levy , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: Vineet Gupta , "linux-snps-arc@lists.infradead.org" References: <20180329113207.30674-1-shea@shealevy.com> <20180401145931.7932-1-shea@shealevy.com> <20180401145931.7932-4-shea@shealevy.com> From: Vineet Gupta Message-ID: <319c8fd1-28f7-4319-6a07-789054c17e14@synopsys.com> Date: Mon, 9 Apr 2018 09:40:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180401145931.7932-4-shea@shealevy.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.10.161.84] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/01/2018 08:00 AM, Shea Levy wrote: > The first patch in this series added a weakly-defined generic > implementation, which is functionally identical to the > architecture-specific one removed here. > > Series boot-tested on RISC-V (which now uses the generic > implementation) and x86_64 (which doesn't). > > Signed-off-by: Shea Levy > --- > arch/arc/mm/init.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c > index ba145065c579..7bcf23ab1756 100644 > --- a/arch/arc/mm/init.c > +++ b/arch/arc/mm/init.c > @@ -229,10 +229,3 @@ void __ref free_initmem(void) > { > free_initmem_default(-1); > } > - > -#ifdef CONFIG_BLK_DEV_INITRD > -void __init free_initrd_mem(unsigned long start, unsigned long end) > -{ > - free_reserved_area((void *)start, (void *)end, -1, "initrd"); > -} > -#endif LGTM. Acked-by: Vineet Gupta -Vineet