Received: by 10.213.65.68 with SMTP id h4csp1369081imn; Sat, 24 Mar 2018 10:48:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELvFGiyQ78kvTYAS/7Yt11WQ0gtT+36SrkNBF2pnPOh3q8xhC+Qc+01UqcD59Y8eV8mFQxny X-Received: by 2002:a17:902:aa02:: with SMTP id be2-v6mr34352844plb.86.1521913714386; Sat, 24 Mar 2018 10:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913714; cv=none; d=google.com; s=arc-20160816; b=w/+dZrGbeychuneD3CwgTzS7lLEXBkb23VeWNYQbE3cpQj3zbPhJMhEEoHjjurAKcQ bOjajfho5D1lGmuGFE4CZwfRGFJWvqpfT2sHXPKHOpftK9nykzOx8+u5qZsTQqAoIj/R dZjV/U+ESKVRlmSG3N6mAe522wW1wXH0djNbDDvlBzjwI1I2neD1bL5goOtOAX4xEfDP oHDf9Xjd6NmyRgdYc0v3DjCiviZob+m/zhhjoonBQL5Ll8GtRg/vhihuRKSyytleZ8lq RuXKSTTeh7qJLZ6NKKNh0C6ERoNY5B3SM5Tc866Q6cDnHDbEze7ythf+o8H6DESgQbZG t5xw== 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=Rs59Y62SCQZcNvI5R+hZN2AC2UTc82EyHVOL0/EJ8GFlzHssUvM1Fb3s4apAaxr81o KeqQc8IMdhG8+kFgNhNZMe7JOtHYsJkgTeODAzMsOn88SkNa3GibyVTILBW5gjmgorMc onpw4R1XIP33LethXVBdlbaQ9Rh+1aBLaJB1k2lbsPjh/Gd/r+GWBU6l1U1U4QnFk1LB 2W85BY/6GJ+ny75jO3eWdDnQHKh/jWdt5KEXWjXx58algkSAHW9QPCFyfD6GZy0DRoEO r0zFF/GbglE7WUvRHjpBGIFPrLBZgNuIkky5UcXtT4jZT/VC3fJuYaoRIpoSQKCwlr0k BPdg== 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 p13-v6si10580392plo.270.2018.03.24.10.48.19; Sat, 24 Mar 2018 10:48: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; 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 S1752847AbeCXRqJ (ORCPT + 99 others); Sat, 24 Mar 2018 13:46:09 -0400 Received: from smtprelay0241.hostedemail.com ([216.40.44.241]:41034 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752836AbeCXRqG (ORCPT ); Sat, 24 Mar 2018 13:46:06 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 19EA4180A68A0; Sat, 24 Mar 2018 17:46:05 +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:2,LUA_SUMMARY:none X-HE-Tag: team76_5211a9543e304 X-Filterd-Recvd-Size: 2051 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:46:03 +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 11/16] nios2: Use INITRAMFS_GENERIC_UNLOAD Date: Sat, 24 Mar 2018 13:44:53 -0400 Message-Id: <20180324174458.26423-12-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/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