Received: by 10.213.65.68 with SMTP id h4csp1370168imn; Sat, 24 Mar 2018 10:50:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELvXarCMajVfC25p7P8dReFVID+lnp4YMIeKeVwSEv5Oz/g+wdYC17imvbMUi4LBxVCObFqZ X-Received: by 2002:a17:902:1486:: with SMTP id k6-v6mr33945841pla.376.1521913821912; Sat, 24 Mar 2018 10:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913821; cv=none; d=google.com; s=arc-20160816; b=RbHlI9KyAFKI7Gv+m6FR0w8KZ4xrj8Iz6qQu1yxRIS9ivEgV1tnTpU2O3vSR43hy48 UzKPrU78NsqcJ513z4pv/27fw1jXUgN+1jXzyvqFTGx+m8Di1dXrqR58WcrYwRTdhH/H UYrh84JEl88TPQb+GePfuo4ndK8BGvRBDPkLrxpKutYPZhsa1KkGKIxv/ahlmoWl9PRu fCugwhxRpYput5Zqw5wHH4CdUWDbaqe66+nfNgcg9IML54cz3U/MRHWmuEA2dYOOBqgQ y8KjGJoQMox7Ks3giEI+Ok4tsFd3A1XPiApegKc7aREbBzWgtFQv4zpFVHdnV9Ev/2CH AG0Q== 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=/SbgV2s32w/8AHJDv4hUJtwhxOwrQBHsmZwmslSmSXw=; b=aUhnPmmskju8Ay2zxoRFPw8b62Zkl70x/lhAeK8XxI5fXlFjXAgNqLFspiI1EZ7zNt aeqb58WQdZ9mJPurXNqcBxRsmJvlYdaYD4FrpPH/hJoWfWknwSjHr4/O0o0zSIAZSI4M appJ+QTqoo21hC0+L1cw/nBXk4/shfJUs9QtvY594fl+zgAo12kLY9CYuX9MI4THkiez U9mvcYEt8HohXmkSV1Y+byw9b2KESE86osRzzTVgSneOS6ycaVQjygNFVzb+S4iEuOFK f8iRYFFofZKBh9leRYjQdfqvjw2g9O8q+I6SjMlcKHTWgwbsjw4fqoG6EXzWInHHBH70 VoDg== 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 k15si8632894pfi.174.2018.03.24.10.50.07; Sat, 24 Mar 2018 10:50:21 -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 S1752925AbeCXRsg (ORCPT + 99 others); Sat, 24 Mar 2018 13:48:36 -0400 Received: from smtprelay0229.hostedemail.com ([216.40.44.229]:52077 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752753AbeCXRp4 (ORCPT ); Sat, 24 Mar 2018 13:45:56 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id DF4C918029583; Sat, 24 Mar 2018 17:45:54 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::::::::::::::::,RULES_HIT:41:69:355:379:541:800:960:966:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:4250:4321:4385:5007:6119:6261:6737:9592:10004:10848:11026:11473:11658:11914:12043:12048:12114:12296:12438:12533:12555:12683: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:20,LUA_SUMMARY:none X-HE-Tag: north66_50a0277171a39 X-Filterd-Recvd-Size: 2168 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:45:53 +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 06/16] frv: Use INITRAMFS_GENERIC_UNLOAD Date: Sat, 24 Mar 2018 13:44:48 -0400 Message-Id: <20180324174458.26423-7-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/frv/Kconfig | 1 + arch/frv/mm/init.c | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index af369b05fed5..5c104b800cb1 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig @@ -17,6 +17,7 @@ config FRV select OLD_SIGACTION select HAVE_DEBUG_STACKOVERFLOW select ARCH_NO_COHERENT_DMA_MMAP + select INITRAMFS_GENERIC_UNLOAD config CPU_BIG_ENDIAN def_bool y diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index cf464100e838..345edc4dc462 100644 --- a/arch/frv/mm/init.c +++ b/arch/frv/mm/init.c @@ -131,14 +131,3 @@ void free_initmem(void) free_initmem_default(-1); #endif } /* end free_initmem() */ - -/*****************************************************************************/ -/* - * free the initial ramdisk memory - */ -#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"); -} /* end free_initrd_mem() */ -#endif -- 2.16.2