Received: by 10.213.65.68 with SMTP id h4csp1368179imn; Sat, 24 Mar 2018 10:46:58 -0700 (PDT) X-Google-Smtp-Source: AG47ELsoyHgHtI4a3PGkFc6wQKGr3CVprFkbvQ6HcC5T1oEI5U/Y2jSkyalNYxF1cnhd2fqkkB3u X-Received: by 10.98.165.4 with SMTP id v4mr27986780pfm.51.1521913618440; Sat, 24 Mar 2018 10:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913618; cv=none; d=google.com; s=arc-20160816; b=0A7fSigWphd7GOhYWJNgULDC6AI58zWuzk2wErg8kHr2ClIkV4Cvsdoi4J/Ag0rVGm QbSS4PR3ByvDO9OQXn7AP0LcGpg5FXH7iaKmSw7XfoZSmBOICrq6TxeuHh64HDjFAjNg A5MCdB3zpAC01SFjsPnohqH7Ei3EmHsRLs2Qad5sjFuhFna/Gly9dMVPBPoLgeTlYlOT 1kwc8RSgvDjqz/ToDu6/uJ2hrQ+OSxqam4rD6Zjun6LkB86q7rBAoIfbBqOV4Xl7pbtP Qu5qAoZX9nhB2Xmdn0YBgD1c+tfOPPoEaehFDmFN/nHJ7q2WIDHZDssPdPLkyI+e+MMW x7mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=LxytxdHk43DWEPKxJXtgyNprh5Vsx1pdtC9V+d0wpJs=; b=CPhLE9/PjXs/wV1Vlwn3AqY0DuwNMXH9qZLMTNGc3u1KnVoaFX3E/GkRjGjQPIDV7v mPWQnzob9i03f3bTPWsfE2D4pyvr0r6YdM/8qP71olSCQZy+5hBlbHBSIwKVyiaLiZnZ BY6w1v7P1UF7dRBBh5vIOhON0rY0Iqi8FaKafsYCia2eeUkbV3mCr4NFPHvCPDqP+rXm ese7Gm+TD4+tpGecFemaR84hxwxoopAZIRLVTAtYdJsOYT9MT4BkttHHos8VYNJW97JP C7KfckhFdrWH7RPIqcTpSlfqmKOorQCPmylZKaJY0sZUg+K8gWpeU/SBNWQT3nRwj/xY JPwQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11-v6si10759365pls.723.2018.03.24.10.46.43; Sat, 24 Mar 2018 10:46:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752738AbeCXRps (ORCPT + 99 others); Sat, 24 Mar 2018 13:45:48 -0400 Received: from smtprelay0056.hostedemail.com ([216.40.44.56]:36299 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752722AbeCXRpp (ORCPT ); Sat, 24 Mar 2018 13:45:45 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 2914183E4; Sat, 24 Mar 2018 17:45:44 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:800:960:966:973:988:989:1260:1345:1359:1534:1540:1711:1714:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3350:3876:3877:4250:4321:4385:5007:6114:6261:6642:6737:9592:10004:10848:11026:11473:11658:11914:12048:12114:12296:12438:12533:12555:12895:12986:13069:13311:13357:14096:14181:14384:14394:14721:14877:21080:21611:21627,0,RBL:71.235.10.46:@shealevy.com:.lbl8.mailshell.net-62.4.0.191 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:ff,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: talk18_4f129d8bd6601 X-Filterd-Recvd-Size: 1931 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf10.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:45:43 +0000 (UTC) From: Shea Levy To: 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 Cc: Shea Levy Subject: [PATCH 02/16] riscv: Use INITRAMFS_GENERIC_UNLOAD. Date: Sat, 24 Mar 2018 13:44:44 -0400 Message-Id: <20180324174458.26423-3-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180324174458.26423-1-shea@shealevy.com> References: <20180324174458.26423-1-shea@shealevy.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 */ -- 2.16.2