Received: by 10.213.65.68 with SMTP id h4csp843585imn; Sun, 25 Mar 2018 15:26:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELtQoHWu/0ShLUxFr8PrKjpRoF7fM8+FE1GYcxMu36DfQWYwzCx0NyASKBcgkS8CLRuNuJDC X-Received: by 2002:a17:902:20e6:: with SMTP id v35-v6mr38110351plg.226.1522016801235; Sun, 25 Mar 2018 15:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016801; cv=none; d=google.com; s=arc-20160816; b=0lc/o4GiL4IiyFeXK8LAMuqcGjiarWh6hrLIV5Wcnys0IyljnvtSskRFsMZGyT0Q4Y 6W7mCuX24tryC9hZEh6Th3yq/ypmBka4UuK3pYnClpuCbKesnaFN3drM4u9CE6gz4tlN c0zAMah3fX/k9Shi6us6MAytfWSmIvS/TlkXp+McjFV3jArLCAoMcp/ssz4M8Z4az36D N4V07jS4RKHZNX2TQukf13Cqgap/iJKa/TUqNn1Ooj3LRj4AeaRea8CeCWmgYYQHYOhy +lU0wSH4Dq8hr8PKYXGNYYV8KC9JgIfN5WEbN0OIGFLV4podmjKj9+yV3EwKZyQKk1GO Gk3A== 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=MV0B5kWYxeyu1T4WGU/F20eUTJxPTu76z9OUsw7v5GUuga9jBt3iEgruqwkgxNATzw Al6y4wt6RE2jW/RgcBW8XnvmdX88YzvQo+lhwrcwC+0R3bcBHtg5SDmr6O/kLOIhBpUQ XIzQCXBjaF7vgE9qlUAWi2sTpzInxbxXSPZWSQhDf7oe7n7c7AY6Y0AUaThIdXz9r3KP hYe/3H3wVIl6aoyFNwq2Q6IaVbEtSykejA7cTynMfOXsE1iV3r4vVfLbwlpreG18AQrd d8LntxKnnswopoXx4ueron97u569YnJL/j2yUjI4FpbQB5zwhugxcxuet+p+wyILrNhA eKLg== 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 j11-v6si12953384plk.378.2018.03.25.15.26.27; Sun, 25 Mar 2018 15:26:41 -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 S1752334AbeCYWT0 (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:26 -0400 Received: from smtprelay0214.hostedemail.com ([216.40.44.214]:44038 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752159AbeCYWTL (ORCPT ); Sun, 25 Mar 2018 18:19:11 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 6AF7B837F242; Sun, 25 Mar 2018 22:19:10 +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:error,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:error,Custom_rules:0:0:0,LFtime:2000,LUA_SUMMARY:none X-HE-Tag: burst45_325beda20ad46 X-Filterd-Recvd-Size: 1979 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:05 +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 v2 02/16] riscv: Use INITRAMFS_GENERIC_UNLOAD. Date: Sun, 25 Mar 2018 18:18:39 -0400 Message-Id: <20180325221853.10839-3-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180325221853.10839-1-shea@shealevy.com> References: <20180324174458.26423-1-shea@shealevy.com> <20180325221853.10839-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