Received: by 10.213.65.68 with SMTP id h4csp1530592imn; Sun, 1 Apr 2018 08:06:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx481Otn5mSHTPRNKzweFJ8Jb40ZB1vh/nlFfay4XTP+0Y2IefNoHHIMp9zo7aM9T9euKOkzz X-Received: by 10.101.86.70 with SMTP id m6mr4227138pgs.349.1522595177205; Sun, 01 Apr 2018 08:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522595177; cv=none; d=google.com; s=arc-20160816; b=NeJv5ktLdbxqUd9OnCF/1YObxi5X/R+SPvZALkkQTgPnW6dYEpmLpLoHJT9DIUkCNd RQzIg8s4Lic/brW7BkoeUqSLti4oVjo57pY8nZYCryaL1uz2StAs+8x0wjQF/mXGAhfC S7GwaoZZZkIgKPCP8ImDjArq9qPsfD1i5F8510Chze045f5jh1OYIUZ9nvGmKaNppCqW N0BGC1/I/hh4eecZcrqtts/ocYmBRUTf9s1X1t20SzY+AySaq6+PY4NehDkBFSjJeOjd gL/eGM+ECXY9mFxMMJ1jMcaROba0FhuIbje8ZhO85ckX8O8JwGX/2YzO5hsEWbLI9gBt 8zcQ== 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=3drJS0NOmXdhPRy9bxkwRg53hK5Wc6OVtvhdpuP/OJA=; b=rjbotyaPvnnx6w9Qg8Qata3QXS5+3wCY+oryBO0dZbP3e1xQFStRaFWtFVKn9YaySM OExfDUwrBNYU+OtBkwbOo93fvBOOTsrp1gSvEBplLAss8CV8gr9QJ9XFbiclYzrMyzlt lr8HCxPlOKm29imq1yKOBBwmSdZXEa/Vw61unIHB+XCPHLEVRrOn64TgoXyr03IdhG7d rqpKPZoZwkDfvjG3/mDOg0UoCvxstFN430fHid8n7TUttwIiO9l+x4jApVYvzBFB7/qH /ysq1aN+dFvMth0twM5yKXJ59y2gz7NZ5n7HSkUzFo+8MB1NA8MxgjTu9WSlu/H/fNmB SHcw== 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 b3-v6si12759728plc.63.2018.04.01.08.06.03; Sun, 01 Apr 2018 08:06:17 -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 S1753999AbeDAPDa (ORCPT + 99 others); Sun, 1 Apr 2018 11:03:30 -0400 Received: from smtprelay0061.hostedemail.com ([216.40.44.61]:33187 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753617AbeDAPAS (ORCPT ); Sun, 1 Apr 2018 11:00:18 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 1CDE5837F24A; Sun, 1 Apr 2018 15:00:18 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::,RULES_HIT:41:69:355:379:541:800:960:965:966:968:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:1978:1981:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3867:3868:3870:3871:4321:4385:4390:4395:5007:6261:9592:10004:10848:11026:11473:11658:11914:12043:12438:12555:12683:12895:12986:13069:13161:13229: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:1,LUA_SUMMARY:none X-HE-Tag: music33_76fd9adf6e252 X-Filterd-Recvd-Size: 1716 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, 1 Apr 2018 15:00:17 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy Subject: [PATCH v6 06/16] frv: Switch to generic free_initrd_mem. Date: Sun, 1 Apr 2018 10:59:20 -0400 Message-Id: <20180401145931.7932-6-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180401145931.7932-1-shea@shealevy.com> References: <20180329113207.30674-1-shea@shealevy.com> <20180401145931.7932-1-shea@shealevy.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch in this series added a weakly-defined generic implementation, which is functionally identical to the architecture-specific one removed here. Series boot-tested on RISC-V (which now uses the generic implementation) and x86_64 (which doesn't). Signed-off-by: Shea Levy --- arch/frv/mm/init.c | 11 ----------- 1 file changed, 11 deletions(-) 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