Received: by 10.213.65.68 with SMTP id h4csp842157imn; Sun, 25 Mar 2018 15:23:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELtOFF5/JhCz1hnAIDIBTxiJeapoHfkR/7V21GFPb1oj4VTvmohUmzJMV+zzVlgEKwzyGzcI X-Received: by 10.99.143.3 with SMTP id n3mr11971563pgd.136.1522016615218; Sun, 25 Mar 2018 15:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016615; cv=none; d=google.com; s=arc-20160816; b=VsU3p/ejtmBGhIRlOSTtelx7vMzjTdw2IN2+f8mrcu0d/KrXz0VgKs6kuH712mpilK S7eSxcTqIYFY3sB8fnt/jojkCEXSaE6HqfjuISMQdQpaF41NBQ4km4k12M4VuNNE0JfH GddMFPnzliq46rc/N2C9prdZeKEelLpD7ZwFibTMHNCmC7VTp00d/wTSo+WpZwn40yEi VFCdc9XONpO5UKVRPqZOLqhuyPTTUtphrqmkx4JqxdMYC05Jqu2eTNYDAA5iNE+H3m3j iRR4TuA20LfGJ7C2SelUsOukKILcKkP52mGc/R15bkNhVqCL7qIBYu+NM8kbGNXlShHt IEfA== 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=PfDA/IfjDDTtest67BGAJ1ZXM+cl8LTUwfkVouCADyByYE8UxGs1Yddzy8LSTkTlWb 1x4KwlhIKN1KvPNKsWtFlF3GOZiz+XI8qjkdQbUs6feT8orAfaYL2zosmTiHmg9t5drF iR39aOfhsvl7f5+BsY9CjfQJY37ZD7DN6gsevbqlJG+LgFvtS3/mLslRUn0voS2oGvm+ 7EQ2L79+mxrG5u2KyLS4G5jiz7ghFmdx/XAsouCG2WKZWZIbW3yvGvov+Lkb8jwBWLqR ttp82sK/4LDsLOiHg3j3lQWatAE8fvekFPJXql+YaQ7rMLZoLncJ+pq4yl6Hr/5c0P6k MUiw== 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 u7-v6si13252761plr.293.2018.03.25.15.23.21; Sun, 25 Mar 2018 15:23:35 -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 S1752524AbeCYWTj (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:39 -0400 Received: from smtprelay0012.hostedemail.com ([216.40.44.12]:34435 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752259AbeCYWTV (ORCPT ); Sun, 25 Mar 2018 18:19:21 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id B6E2B100E86C5; Sun, 25 Mar 2018 22:19:20 +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:0,LUA_SUMMARY:none X-HE-Tag: wall94_345fc324aa145 X-Filterd-Recvd-Size: 2216 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; Sun, 25 Mar 2018 22:19:19 +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 06/16] frv: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:43 -0400 Message-Id: <20180325221853.10839-7-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/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