Received: by 10.213.65.68 with SMTP id h4csp907551imn; Sun, 25 Mar 2018 17:42:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELtjBw7+C+WUfoh3QuTyFUGi6Bcwl9jcg6u0fJR7rU6zUYMj3N14p4uaxW7pBi4M6BYpfsC6 X-Received: by 2002:a17:902:830a:: with SMTP id bd10-v6mr37563387plb.322.1522024954242; Sun, 25 Mar 2018 17:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522024954; cv=none; d=google.com; s=arc-20160816; b=qPFl/o3PcBrBDiJvJwbZj8w5QxssFElhxq12RfTnHkGWb7zOHWRIh7jqFYgRi9HLa+ Jx135WNxmaoPSk0tt+oTUo6YccrC3qcPz2TeN7Zm2ZodhdXYnzl7xMTnqt++9OtEUUSl ZTUECKNOZEcGl8jCveiZE3LCgz/zhfmaQTk43s2gCRYSPrXk8c8chrPVmaODbappRkhc BrfO2XoJINK1QR71ng2UALhAIMub9qSH1cNxIXpAA1pj8KEYFjEhOO39W5AmEBFZtzFX zQ2K6VPMc0CpeToLHars0tp7IRuQjjAiK3E3pmKTuV9ccexg6dx1NzksTFmSIgP1jsSJ s2Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=BxrHL3J7YJxSNgyCRyTp73AOcDaRIcmFR/r65TD40dw=; b=j0FTG3vMsWyGPRxOYqSiWkzCumK02WW/xTzAGxQW7v/OohZwBLTVWea+Wf7ob5nDye LJOyO4Fxs8hnzLTCqP4PkZh4l0UJlcXoWTH+fD4falWhebZ5oHHITQmw2So95iyO5p6i LHiXl1FN6sJ51+ETOraIXZf8hJY7R7br1SUomimMsoCD2cW25NVpvNer8rAfJ6Xh9NpX 1ZnXHbInNBYdpo5HyqlcVcY4qjLgeWHFzLDhVg0HHSJbyrYuuLGoX10/uAHj6C6MgxDM qHRrvlN5rzJP5uOwHNpP0uQC/dBG++Y7CrPL0c75YeqonL+eglgWTpr0T2THc9TgQ6ZJ 3JlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=BBQxIF+w; 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 l6-v6si14614938plk.489.2018.03.25.17.42.20; Sun, 25 Mar 2018 17:42:34 -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=@sifive.com header.s=google header.b=BBQxIF+w; 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 S1751897AbeCZAlS (ORCPT + 99 others); Sun, 25 Mar 2018 20:41:18 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:45044 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbeCZAlQ (ORCPT ); Sun, 25 Mar 2018 20:41:16 -0400 Received: by mail-pl0-f66.google.com with SMTP id 9-v6so10893619ple.11 for ; Sun, 25 Mar 2018 17:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=BxrHL3J7YJxSNgyCRyTp73AOcDaRIcmFR/r65TD40dw=; b=BBQxIF+wGf8o0y0IdPWdzFmMryeUsjC8+7txLItLE+RASKysUxjFSb+d2PI0EAiPuc nZrhvdtRiKawpd0JDkmh/GqT245XT9/NS3fCrOTQe9H4HkUHneotzJqkY0r7cDFQLKJn zf0gJtRVNrtJdiTGEaU+Eenhm1sQ/ApZ+wssn2qSFX/HtlLSj1yeHj3XZqMPVIOM2eLo ptxFRr0Hdj3lNUjwco0mvSm47m1jOXUgzNBadbx4ilOXle1i6GJUcmgl1i9rh+OZOtX3 GEM2hgqrYk+imjPdRzdQuCYfA4Cj8XK8FlPMm0ynOY2PKm9EdGtsqgTaDJl+Bu9dktCk 38oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=BxrHL3J7YJxSNgyCRyTp73AOcDaRIcmFR/r65TD40dw=; b=jz0I4oyvK1nE3jzgxHMQQrFoKhFQSc5XBUR6vmPZeC7uQ5AZCxfTkOMYUwQn53I2Bb TBXXEVLiyhKYbK1aCc1UqvnXKtS6vVjN1x+1XLH1tfSi5ACttU+Qi7ahgzr34zb3VQPT JV59ud3g49mFGASJEALPYsVvErEF7NegLiTCWt6GBFqVUcLpnfhnVUHqt8qbuvdjl0/S nmqI904Bck0aWI3QEik9DDc8Xye8YgkRSeHS0cOxPw+/9kqzZHRnypbRRO9qLlPYG3zp ZHszXNxPXkQELp5WF7dhehJY0ASJ3vjnmfPp/IxitRWx12HNuVAAmmEzlh9CZi3yZ+/3 WvQw== X-Gm-Message-State: AElRT7FRetZwRLQdVOGWPSwfFn/PAFmjan5TruTXg7dpwccIm66EjTsZ ym+N4Hi9PySVO9IytjR+oKBcO1I0KX0= X-Received: by 2002:a17:902:6b85:: with SMTP id p5-v6mr6524651plk.66.1522024875403; Sun, 25 Mar 2018 17:41:15 -0700 (PDT) Received: from localhost (c-67-161-15-180.hsd1.ca.comcast.net. [67.161.15.180]) by smtp.gmail.com with ESMTPSA id t17sm141479pgv.36.2018.03.25.17.41.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Mar 2018 17:41:14 -0700 (PDT) Date: Sun, 25 Mar 2018 17:41:14 -0700 (PDT) X-Google-Original-Date: Sun, 25 Mar 2018 17:40:08 PDT (-0700) Subject: Re: [PATCH v2 02/16] riscv: Use INITRAMFS_GENERIC_UNLOAD. In-Reply-To: <20180325221853.10839-3-shea@shealevy.com> CC: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-c6x-dev@linux-c6x.org, uclinux-h8-devel@lists.sourceforge.jp, linux-m68k@lists.linux-m68k.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, shea@shealevy.com From: Palmer Dabbelt To: shea@shealevy.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 25 Mar 2018 15:18:39 PDT (-0700), shea@shealevy.com wrote: > Signed-off-by: Shea Levy > --- > arch/riscv/Kconfig | 1 + > arch/riscv/mm/init.c | 6 ------ > 2 files changed, 1 insertion(+), 6 deletions(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index c22ebe08e902..ab1b4cee84fc 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -37,6 +37,7 @@ config RISCV > select THREAD_INFO_IN_TASK > select RISCV_TIMER > select GENERIC_IRQ_MULTI_HANDLER > + select INITRAMFS_GENERIC_UNLOAD > > config MMU > def_bool y > diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c > index c77df8142be2..36f83fe8a726 100644 > --- a/arch/riscv/mm/init.c > +++ b/arch/riscv/mm/init.c > @@ -62,9 +62,3 @@ void free_initmem(void) > { > free_initmem_default(0); > } > - > -#ifdef CONFIG_BLK_DEV_INITRD > -void free_initrd_mem(unsigned long start, unsigned long end) > -{ > -} > -#endif /* CONFIG_BLK_DEV_INITRD */ I haven't looked through the rest of the patch set, but this is a pretty trivial change so feel free to add a Reviewed-By: Palmer Dabbelt if you'd like. If you'd like it merged through my tree then just say something!