Received: by 10.213.65.68 with SMTP id h4csp1433986imn; Thu, 29 Mar 2018 04:52:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+pMLA0aHsJcSuhPU9JlNtk/Q7nR0LBj/UBeVNdib/zyCl/edav58zsv0zMXxJfDzd8857h X-Received: by 2002:a17:902:264:: with SMTP id 91-v6mr8060240plc.178.1522324324737; Thu, 29 Mar 2018 04:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522324324; cv=none; d=google.com; s=arc-20160816; b=mvMW+TU9rfR0tv+mcB378/D2HFDrDOr9TXSy3qTltCFzHMIM3/jwL8Bg9HkMKhnj1E AdaH/3Zp+YRNj0qOBRt8IyT6QFnT1K9iqb+x/qhLiWK28DijrH/sP3SiwGe7WXfP3POy 4LnO+M8Stgz3LmsZKJJWYPIOqn80asKgBss0HmXIiATrlmZ91GS4D3BdkUPJUfvgxBrR axi8c5sBE1nXuNIFUXdkcEpJ/tinAPrJ1nFKtpokFiTx5zhg4AfJ0pOy2l6uJrY+OrrF DfqMfyawzaEy7lhlPpdX6jAleSp0sNzLlldeNu7ly5KaC74rGMNCVmYGqiU/IIZRllGh GEng== 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=3iGpjJm4diuDFe4BGQ1oOxJvADP1vM6UkzOBhbtr6+0=; b=y2DrueDC5ELyinu3z1bCEAgLsMa5xjJASqLkXZCf6mE0zn3iXLfdoBvjocT0HK4Xbq SAeR9Ch6xa6bbfKtrF1uYYkUE3gks3Da5SkxTRb9CsB/WVJ0OH8ZqOwRoyWtNMB+JpdM DLWkW4W+uQ+GOuWJN4fTsR8QSk6gIojlEx2oVD2y3r3Z0PWblAgB5+Weexf9SrOaO9Fw JJtMGILz6k2R/yNpSRPKY+2578e4YTIN0mgSQ9DtCHNJ2eRzv4of5FYbcmwnaHvjjXMB OiodPXsYqOtDweCQ4z2WmwXzMngQ0c90jVqRAWKde3VfVc2zk0JiS2O91i80K11ryR69 dYog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GK7gNO63; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l186si3815354pgd.174.2018.03.29.04.51.50; Thu, 29 Mar 2018 04:52:04 -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=pass header.i=@gmail.com header.s=20161025 header.b=GK7gNO63; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752855AbeC2Lu6 (ORCPT + 99 others); Thu, 29 Mar 2018 07:50:58 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33628 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbeC2Luz (ORCPT ); Thu, 29 Mar 2018 07:50:55 -0400 Received: by mail-pf0-f194.google.com with SMTP id f15so3050952pfn.0 for ; Thu, 29 Mar 2018 04:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3iGpjJm4diuDFe4BGQ1oOxJvADP1vM6UkzOBhbtr6+0=; b=GK7gNO63LkW7LGtqvE3JWLkpmmlEEqtSldlo7cqcS/IHkUHjGI405NhBuZjtOwYfYk 4UQUu/UQxC4ahJDLfIF1QhOyrm7tzzioZVhd1vZQ0yhhJWgjBmNsCKAh34I+Oz4eV7bD QX8/9WM1JUncqJykZpHlY5gdBzKXe9u0ad0xHCtKACWjvQYCq3GVCnE084Q4OCEAvGjo hqOVrkidjzr2bLLgeKUWuvE3YZlk3z89tOMI8Rhtco3h1WfBAXq7GHf9l8KhWLIj1oSH nkSaDbMpo+lVgAnDkxQ1QDlTvZNlIbJ+9OnH0bVLDpz2o4C9xCt95SIAo5+5rfijcZ0S PZiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3iGpjJm4diuDFe4BGQ1oOxJvADP1vM6UkzOBhbtr6+0=; b=A6+KIFEklW2B4lfnkmuBz2yJ2Jmimfj2jGrwqVaVAVfiwcIBCCq9gFKpRuNs+8S6De L7dHUJGAuM+SyGCNcjE5awabNETyH+nbZ8/0HCML1wf63GJBteePTWAybV9OB3Cg8ds+ 8f0kIO854B9UfsyykN0mz+uY06jUt6RbH3USzDe8J0xJxlnpYgLuzLKSc4N9Nw1UdIRw 2RxUugvBGxP5UPfqjbbVdl+X6nNXIIMUmuc7kGUrgY9/tC5LitTJMwjoHVEbQY0uYwCW GckPJMaVGVIgSE23TV9rGXxxfN6IHCARJxLcefBiHoCiH+ntPBoNbvb0CcvpkRG9MVmo KEzQ== X-Gm-Message-State: AElRT7G/rNzSiK64rHJPGC1baSY25TJirrAwcS/eRzuxtBdXiL0KWB1V f9f+a3fPKjbKCsLw+Sxnvx8= X-Received: by 10.99.101.198 with SMTP id z189mr5271110pgb.97.1522324254301; Thu, 29 Mar 2018 04:50:54 -0700 (PDT) Received: from localhost (g94.61-193-241.ppp.wakwak.ne.jp. [61.193.241.94]) by smtp.gmail.com with ESMTPSA id y3sm10205783pgc.81.2018.03.29.04.50.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 04:50:53 -0700 (PDT) Date: Thu, 29 Mar 2018 20:50:51 +0900 From: Stafford Horne To: Shea Levy Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Bonn , Stefan Kristiansson , openrisc@lists.librecores.org Subject: Re: [PATCH v5 12/16] openrisc: Switch to generic free_initrd_mem. Message-ID: <20180329115051.GF2836@lianli.shorne-pla.net> References: <20180328203659.18692-1-shea@shealevy.com> <20180329113207.30674-1-shea@shealevy.com> <20180329113207.30674-12-shea@shealevy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180329113207.30674-12-shea@shealevy.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 29, 2018 at 07:32:03AM -0400, Shea Levy wrote: > The generic implementation is functionally identical. > > Signed-off-by: Shea Levy Acked-by: Stafford Horne > --- > arch/openrisc/mm/init.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c > index 6972d5d6f23f..c1a3dcf9ad40 100644 > --- a/arch/openrisc/mm/init.c > +++ b/arch/openrisc/mm/init.c > @@ -222,13 +222,6 @@ void __init mem_init(void) > return; > } > > -#ifdef CONFIG_BLK_DEV_INITRD > -void free_initrd_mem(unsigned long start, unsigned long end) > -{ > - free_reserved_area((void *)start, (void *)end, -1, "initrd"); > -} > -#endif > - > void free_initmem(void) > { > free_initmem_default(-1); > -- > 2.16.2 >