Received: by 10.213.65.68 with SMTP id h4csp843162imn; Sun, 25 Mar 2018 15:25:51 -0700 (PDT) X-Google-Smtp-Source: AG47ELuQHoXhzaiH18+sPDp6atIR4SNOAnXIFiRoPT9mb7cibVkvyGYhlWRloeM6n6htFPvjinQ+ X-Received: by 10.99.112.92 with SMTP id a28mr26263949pgn.17.1522016751560; Sun, 25 Mar 2018 15:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016751; cv=none; d=google.com; s=arc-20160816; b=Oh1nBoQLTTl6xaaqavY/+0+OueV2SE9Bot0Cpt8yxLkT/AqTNIMQ3GiLqN41ncs9rW r7y+raZMpDZWSnphzmilzQjA4PPM/7pqBAROojOBhEjDLXPwHZLiNed6Kgi2qvLmeDmf VP1ZuoIHZZZit7mLExETeuzCSKWTwpif1/r+Xh3tFUj4XTajk7zOQVEom5QFnyAZHev2 fgkyarN1b7saAKuSjh6b1hhvrdvcBUWIheTwKggQGz2ORqGXgjcu19aUOqgd/qDnH7ok 32xwVDcU1S2FRueAA1BMCPOI7UzIz6vaHwvQ4LAAW7qMg3xMDyxwN2sLtnTSX6RYf95i mDng== 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=SWLkjCibBinTn0K84zamqKXN8WKMokOLLBYYrtYXljY=; b=KIjR4r9HxByHTt28OLgxsbTjRCv+4SLtaRO9lr+geVmxRx7UJwqcytn2397C97yAT5 hX+R1ou5v0aY92WbNoN7734DAw8fi1EYpS1pyA8LOuAJxImG97c45Zby9T5JIak/JwAl D/QgT4UlxlhvhbpIPj3Awxwp/hDlKeflXNhs7DoGy8D8+dhcAJ8AZh7f7c0Ff+9H+YID 5xRgoKa1HfGgwobhrsF5o3L09k8FZXwga9fG9a364qnBUh04+eHErvpZS/w/BlMwW18X wjKfNFkXTEwTgEyCFJCnX6ZLZWibDTwChBQ/5S8GGrb+QASo02q8+7E7ffxs6KaPJPNW HtKw== 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 16si1638516pfk.71.2018.03.25.15.25.37; Sun, 25 Mar 2018 15:25:51 -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 S1752399AbeCYWYL (ORCPT + 99 others); Sun, 25 Mar 2018 18:24:11 -0400 Received: from smtprelay0035.hostedemail.com ([216.40.44.35]:36093 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751090AbeCYWTd (ORCPT ); Sun, 25 Mar 2018 18:19:33 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 68750182251B3; Sun, 25 Mar 2018 22:19:32 +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: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:21080:21451:21627,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: van52_36100d7bac658 X-Filterd-Recvd-Size: 2133 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf06.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:31 +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 10/16] microblaze: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:47 -0400 Message-Id: <20180325221853.10839-11-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/microblaze/Kconfig | 1 + arch/microblaze/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 3817a3e2146c..ef23e8410b4b 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -36,6 +36,7 @@ config MICROBLAZE select TRACING_SUPPORT select VIRT_TO_BUS select CPU_NO_EFFICIENT_FFS + select INITRAMFS_GENERIC_UNLOAD # Endianness selection choice diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index df6de7ccdc2e..ea058dfda222 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -187,13 +187,6 @@ void __init setup_memory(void) paging_init(); } -#ifdef CONFIG_BLK_DEV_INITRD -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif - void free_initmem(void) { free_initmem_default(-1); -- 2.16.2