Received: by 10.213.65.68 with SMTP id h4csp841876imn; Sun, 25 Mar 2018 15:22:52 -0700 (PDT) X-Google-Smtp-Source: AG47ELvPRaD4p0BijUz6jHLsJCfzArISCgZqVP7Eb0hYu5zjrYI0G59JkbbcIDusTefidNWACbMl X-Received: by 10.98.247.19 with SMTP id h19mr11257824pfi.239.1522016572915; Sun, 25 Mar 2018 15:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016572; cv=none; d=google.com; s=arc-20160816; b=e0XLKI8uXaXV2NXpXBjZURv3a82oE3qxKcHY3BjMvVI3Qbe452E8IqVNZTxLEgoljL 3j1YtmtLXlHtSTSdg1DK2dw+f0/PQe20L5G6cKA3OiZ2wu7d1FUaerUmKNpXQ0Nj6ldG ccONdd5Bk2913aKCBvMPFDOEAYiO/VwsnIolnoeqQ5Tt9yTXrZYBWXVTOYx+TlC3Z1rd 91MVL9XuzIq1A5p8BJBkFZ8fesCWVBGyMRljlu9IaSUHOq6rc/Bsw0G0RHP7F6oquWvg Re5Bl1mMrOfXZ3gJIl4XAPr6hGUYakZ90ex9v7S+RH6qruVnm2Cx4Q8xR2P2T68FGLgH lArg== 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=kCy2VevDCq/LBIku8WxUBUtVHz+Tpi+RiFrECLGEiiM=; b=OrBCuOFR2xYICuDl9JEoGU2gHFjgGRhuew5AcAejjBVAlB3j823O103AQJ5WfMVlpZ /KkrirM2cIXzDUwCIY6TZQ2jftUQcN/EBLr54fQNvirChWtL8fhxOfQ7t4jDX7hcC7ik lMIVCdPeq/Vsgi1WrRtNCFkM14gZYEZjgxYOD6Dx0QAKht2wYQLSsKrqr1GSg2Wm/u7Y Sq0lXEHXZPQCTopXi1wTKsH+85cK4/ZroqnbaZ/dzzLTh0c4fnsM3hL5y1V3OuTQHPvZ 7paUrCcxoD8N++7n46HgMXPcL4yxoePXaxAaiE6bGnFPhe9kerMFMWvj5cZpkpsGYg0h 2hQA== 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 z33-v6si5419350plb.694.2018.03.25.15.22.39; Sun, 25 Mar 2018 15:22:52 -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 S1752591AbeCYWTx (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:53 -0400 Received: from smtprelay0111.hostedemail.com ([216.40.44.111]:37753 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752486AbeCYWTf (ORCPT ); Sun, 25 Mar 2018 18:19:35 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id DBC2B18029595; Sun, 25 Mar 2018 22:19:34 +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:1541:1711:1714:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3351:3876:3877: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:21080:21627:30054,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:16,LUA_SUMMARY:none X-HE-Tag: blood17_366dced5a4e26 X-Filterd-Recvd-Size: 2099 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf13.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:33 +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 11/16] nios2: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:48 -0400 Message-Id: <20180325221853.10839-12-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/nios2/Kconfig | 1 + arch/nios2/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 3d4ec88f1db1..d3b72d5c8967 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -19,6 +19,7 @@ config NIOS2 select SPARSE_IRQ select USB_ARCH_HAS_HCD if USB_SUPPORT select CPU_NO_EFFICIENT_FFS + select INITRAMFS_GENERIC_UNLOAD config GENERIC_CSUM def_bool y diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c index c92fe4234009..3df75ff8c768 100644 --- a/arch/nios2/mm/init.c +++ b/arch/nios2/mm/init.c @@ -82,13 +82,6 @@ void __init mmu_init(void) flush_tlb_all(); } -#ifdef CONFIG_BLK_DEV_INITRD -void __init free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif - void __ref free_initmem(void) { free_initmem_default(-1); -- 2.16.2