From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751903AbeCZAlT (ORCPT ); Sun, 25 Mar 2018 20:41:19 -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 X-Google-Smtp-Source: AIpwx48TZ9WHmcdDNhuhcacsiRCWXqXRYDkPlsopwcK+aN8K14RKJqm1svp2IYzliEZQTOiHrnWl3g== 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@vger.kernel.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 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!