Received: by 10.213.65.68 with SMTP id h4csp1422453imn; Thu, 29 Mar 2018 04:37:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/KeiFxPIHPIhJvIU8NxBR3dYTYIxshx9ZPI1M1+aPDdKmfddjrwfYNO9+bCD3kmjj8+0mN X-Received: by 10.99.132.72 with SMTP id k69mr5258462pgd.367.1522323429273; Thu, 29 Mar 2018 04:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522323429; cv=none; d=google.com; s=arc-20160816; b=S0b6mjMoIHc5aSxsXv/zxYnZ4LoTCej/vJCO2deN3CgWEPGHubhVj9p6nzJp1Cuhqh RxkmLNI9mRED4JtH0iYzre4YdodNQ5lJfNrWhKV9++a48nZvpFm1uYZWce64pqNlgrBF p9VzgYJ8dHsGOLLRrbedlW/Rs1WABHfSLNd7hCpp8sN0ISc+rim+52+eOJQJUjn0TotR CqAMPVhrqDrQe4fILwCN5wYgY+jVfJeRgSQz37qKtAB4E7hr+Tek0X4Znc+EknwRF01b PipdG2Wq4I2DD+g671FgTDtawIpRKDCgZ75XGsmahiiHs/QffbVneqYka+m/E592Jvfz i0QQ== 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=52LewailrVc4KXDs4/TGmox0aoipXSvY0ucpNMeEHZU=; b=X98GvWYVJC48cg0xbzMC0hlcNkseuyLspXdIqO851y1p/pZr8sUHm8UmWp1Be1vpEX MeshW9JsCPxpmVIkwM38ZNkkiXD0en+swkL/LPXjoHPZN36SKQtozN001VtiylU5V5kY 2HOj6PC7d7JoY0YaZJGW9TUFqsBewYvxdeaFNqd/hophQ2xA0ABYsEo5thakxLzPCHr3 PHbCBNUIVLfY6QsGVZee7VIWcfOiDtfBSfe9D6IpN5jSHTdeM072/CF25r+Cn9NmF2Wz iyr5VnjPipZcXhpafm8NPLrFCqhCTwtB7P4G1hfiWhwdysTJz9Osb9FJJr+Nncqf2IMo 52QQ== 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 13si4349713pfm.246.2018.03.29.04.36.55; Thu, 29 Mar 2018 04:37:09 -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 S1753278AbeC2Lez (ORCPT + 99 others); Thu, 29 Mar 2018 07:34:55 -0400 Received: from smtprelay0074.hostedemail.com ([216.40.44.74]:50689 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753262AbeC2LdK (ORCPT ); Thu, 29 Mar 2018 07:33:10 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 1308A100E86C4; Thu, 29 Mar 2018 11:33:09 +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:1437:1534:1539:1567:1711:1714:1730:1747:1777:1792:1978:1981:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3865:3871:4321:4385:4390:4395:5007:6261:9592:10004:10848:11026:11473:11658:11914:12438:12555:12895:13069:13161:13229:13311:13357: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:19,LUA_SUMMARY:none X-HE-Tag: bait09_1b61dd16f8e42 X-Filterd-Recvd-Size: 1546 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf12.hostedemail.com (Postfix) with ESMTPA; Thu, 29 Mar 2018 11:33:08 +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 v5 12/16] openrisc: Switch to generic free_initrd_mem. Date: Thu, 29 Mar 2018 07:32:03 -0400 Message-Id: <20180329113207.30674-12-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180329113207.30674-1-shea@shealevy.com> References: <20180328203659.18692-1-shea@shealevy.com> <20180329113207.30674-1-shea@shealevy.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The generic implementation is functionally identical. 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