Received: by 10.213.65.68 with SMTP id h4csp830205imn; Wed, 28 Mar 2018 13:40:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/2VDXJvpvPzC45mwUyplN2zp9SzPpZnwPscIBtz+Vi5c2AkHRQzEQz30qHbw/U7biLy/ap X-Received: by 10.99.124.29 with SMTP id x29mr3564833pgc.284.1522269634008; Wed, 28 Mar 2018 13:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522269633; cv=none; d=google.com; s=arc-20160816; b=JqgjGJzfyorm9IO7cj/2EPLDAbl/vxkMNCj6cE4d99540WHpR031Dj1gyYbLpglxMc q2Q53QB+jFYOVlWaGHCkXMur38B+KKrn7Lsinu7//sWzENsvPzvhnhSeXvC2uAL4jGWa F0vasxx4VS2fTcwjSBaAMx57JuFSW1sLMyvxkO2dVZdhsKHpElMmBTEOnh8kmWnSHz4l G9ZKFbxCyYtx5Uo6lNuSNMM6B1HfqSwcK56ydkydLS5d5NdOHlvNSnKS73r/FfiGRhz9 aqBn6/5PaDqavbMeVFiZU9y+Bo3BM6Ie1HKtX+fGgOLbTO9285drotLgYMw2XOlDVh9c E1IA== 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=wbs0ymTW78j88J9vuxPVIN74HZfZPyoD3rdpEzxXjlc=; b=ZjMXRZq/AW14Yah2NHmxwc5QZdNh9BkbYom/Qyk55V7I9GfNeU8T3k3wzCoDbrliy9 0K+rGl3ic5jFUoXyRrt81gmGW+YIaNZ7Zl9IFDg8LjrXsJX5U0SUti0ThHYq8JJ6SkSe 7sEiczoeDJCu/0tCAMChiTzYcrY9oBcgLYlTWT/vJPsNun0w7ipP+fZvArTYR3JjtcUw wNRnhkfHQYTX+5dcfJzMJ4uqyVUgXP4yeWV0+FpFv4eYSZNPjSNSrT1V6kE6M3GRy1ZS 0kBKUpu+vhKxabvUHjVNswm+SZrcrhHQ2Wbq1SUk6+xFKyFF1D5XPV3h+iYsNIjUMAVA nHdQ== 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 k2si2907863pgo.149.2018.03.28.13.40.19; Wed, 28 Mar 2018 13:40:33 -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 S1753589AbeC1Uh7 (ORCPT + 99 others); Wed, 28 Mar 2018 16:37:59 -0400 Received: from smtprelay0145.hostedemail.com ([216.40.44.145]:51970 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752981AbeC1Uh5 (ORCPT ); Wed, 28 Mar 2018 16:37:57 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id A8342837F27E; Wed, 28 Mar 2018 20:37:56 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::,RULES_HIT:41:355:379:541:800:960:965:966:973:988:989:1260:1345:1359:1534:1539:1566:1711:1714:1730:1747:1777:1792:1978:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3876:3877:4321:4385:4390:4395:5007:6114:6261:6642:9592:10004:10848:11026:11473:11658:11914:12438:12555:12895:13069:13311:13357:14181:14384:14394:14721:21080: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:19,LUA_SUMMARY:none X-HE-Tag: work70_4547cc8fcfa35 X-Filterd-Recvd-Size: 1482 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; Wed, 28 Mar 2018 20:37:55 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org Subject: [PATCH v4 12/16] openrisc: Use generic free_initrd_mem. Date: Wed, 28 Mar 2018 16:36:55 -0400 Message-Id: <20180328203659.18692-13-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180328203659.18692-1-shea@shealevy.com> References: <20180328152714.6103-1-shea@shealevy.com> <20180328203659.18692-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/openrisc/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c index 6972d5d6f23f..c1a3dcf9ad40 100644 --- a/arch/openrisc/mm/init.c +++ b/arch/openrisc/mm/init.c @@ -222,13 +222,6 @@ void __init mem_init(void) return; } -#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