Received: by 10.213.65.68 with SMTP id h4csp1420346imn; Thu, 29 Mar 2018 04:34:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx4++IfZbVVvyYpui9OFq8/Dj4jSyMu4kbhXtFbN1dAXHZk+dtuQJi7Ds6Og9iVp5yuB4NvZF X-Received: by 2002:a17:902:51ee:: with SMTP id y101-v6mr8121665plh.359.1522323289433; Thu, 29 Mar 2018 04:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522323289; cv=none; d=google.com; s=arc-20160816; b=otI/2uitxhN0K7HGIApaR7jLinaruma7TSdMlTJ1dIkyKv5Iw4uiS0dN5a74sCpMAD +tAy2106ZtUbYnDRIHaW1c2qpjABCvYv1nQYZIXJqCXQ9MHzZLXWARtCx/d6IXI7doqL rSJ3a3dEhn4EDk+gd1lVL5/xEYYCwr9eMNUbOqvwydUbLHKusgmyP2UhnNh+xuy/ZeUt J+sgfNS1fH8NvtHNknfi9uHbAQArN39Y+1HRtD6GTSFITbkv8OQacNmEZy0FrpZXorl0 sUYGCG/kZnTorqubsIJakPiqnTLXWPk0fzWOS+6tLbJQ7gWP0afNZ03AmE9FcDi6Jold XqVg== 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=sIgPHYkKx/d6osMUTupJ+fjBemnCo2MSOSB4LtW+fxc=; b=A4/cwr8tmEDEXlIMgrxtHWSKG1D41clOgI2y020tcKdsP2BDPVxRxGILjQ8DQFblJW wLQDK6SBR/Oh883nvW3x6bYDNdwYnE+EhZGACfLIiOEt8OO4XjhxYXRD3YnlsgTtDQNI gOG9oLTcp9maG24/2I6HKmr++4farBr3BAXa/Y/L/CvWdZ2JrvqV7iLaF15sC6loud+T nKIsaT37sgG8rsBhwko+yMqIv3kNVo86bG6ZET5IeQSC81dyiMGozT7QB2Hka6tgDI3q FBAhfH9K6mkcWVypKNRpHCza/4QM3IAMkUkNIlblwPqpAdDM3UA1S1QgVc5b+JDEd71O mukQ== 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 y1si3951345pgs.208.2018.03.29.04.34.35; Thu, 29 Mar 2018 04:34:49 -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 S1753390AbeC2LdR (ORCPT + 99 others); Thu, 29 Mar 2018 07:33:17 -0400 Received: from smtprelay0197.hostedemail.com ([216.40.44.197]:45685 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753381AbeC2LdO (ORCPT ); Thu, 29 Mar 2018 07:33:14 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 6FA73181D341A; Thu, 29 Mar 2018 11:33:13 +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:1711:1714:1730:1747:1777:1792:1978:1981:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3350:3865:3871:3872:4321:4385:4390:4395:5007:6261:7903:9592:10004:10848:11026:11473:11658:11914:12043:12438:12555: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:20,LUA_SUMMARY:none X-HE-Tag: tank68_1c0632eefff4c X-Filterd-Recvd-Size: 1654 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; Thu, 29 Mar 2018 11:33:12 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: [PATCH v5 14/16] powerpc: Switch to generic free_initrd_mem. Date: Thu, 29 Mar 2018 07:32:05 -0400 Message-Id: <20180329113207.30674-14-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/powerpc/mm/mem.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index fe8c61149fb8..e85b2a3cd264 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -404,13 +404,6 @@ void free_initmem(void) free_initmem_default(POISON_FREE_INITMEM); } -#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"); -} -#endif - /* * This is called when a page has been modified by the kernel. * It just marks the page as not i-cache clean. We do the i-cache -- 2.16.2