Received: by 10.213.65.68 with SMTP id h4csp1423026imn; Thu, 29 Mar 2018 04:37:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tvSd+hVq2kdicYXvoRD+wfdVAC1/iK69wOOhvva5vVn6snKQe/OcClV2O/OoACVRED7M+ X-Received: by 2002:a17:902:7e42:: with SMTP id a2-v6mr7980282pln.13.1522323468235; Thu, 29 Mar 2018 04:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522323468; cv=none; d=google.com; s=arc-20160816; b=WGMFo8cFbatcO4pVhVVoBFKZq0lngQlPVYu4kKLgv9oH4SoIX26FzoZITHrpuJw+MC TvZqJrZCcmmf4oTAvp/XmdAtM2bzVpVM/eN1Z8hPFBlmnljlwS7tCZ9nKcg84GneWlVa c9cWGY2yj6bLZtIWali0jeGZatX+LBex+mDTAf93mayKDvlaf/yg3GEJxgoheHNqPMGy WCMMLXEPMlce1qJf/3ZCCPCGtqkJy+Bj3ezKHvv7Asi2LTFEOXZcw9Mud4JibTO/zIyi mljHKV7Q28ZykWJm2XdT1+O4SsauWjRhxIOqNZpFOJ6hOk8xNhFRxSWD2qPeGzExjj4e Supg== 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=YH2BC/3DujrZPIvd8lrQhG8ncFO2ZYYJU33e6QweyKI=; b=WhPhpwZ5vbvqwMuUBKeB8vjsru9xJEbJlXNRv5GYtRxz3GhTr4ivzeT2fxZW8gdQ5p Rd8JTaYmFFKjfdJCI+iDqrC48kQZbK3WjZ7ZJcD4xYHjjqf1Wb2zm1+GjTyzgYengjaQ RVKuNAdc0kNR+nI/BY1q1rOOvJwf6ULLUxHI4SHZv8j76LAmWnAL84PYZURDHMRZf/8m lbluLEhiPC9KYmDdru9Wmm/WZB38IIMwDwS+vu9IR+h9uAM87fJc/Ne7VJkITXsFeAtD cFk+jvl9CgPhFJTjqEoyY+jB/AI8ZZpgaHgpgz5eJoUJftNBg3Rxr7PQs069ctvTHK7q yQbA== 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 h61-v6si5597726pld.610.2018.03.29.04.37.34; Thu, 29 Mar 2018 04:37:48 -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 S1753049AbeC2LgD (ORCPT + 99 others); Thu, 29 Mar 2018 07:36:03 -0400 Received: from smtprelay0252.hostedemail.com ([216.40.44.252]:54028 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752575AbeC2Lcx (ORCPT ); Thu, 29 Mar 2018 07:32:53 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 4C3DF1801382B; Thu, 29 Mar 2018 11:32:52 +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:12986: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:20,LUA_SUMMARY:none X-HE-Tag: dime15_18ec1435bff05 X-Filterd-Recvd-Size: 1397 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf10.hostedemail.com (Postfix) with ESMTPA; Thu, 29 Mar 2018 11:32:51 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Vineet Gupta , linux-snps-arc@lists.infradead.org Subject: [PATCH v5 04/16] arc: Switch to generic free_initrd_mem. Date: Thu, 29 Mar 2018 07:31:55 -0400 Message-Id: <20180329113207.30674-4-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/arc/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c index ba145065c579..7bcf23ab1756 100644 --- a/arch/arc/mm/init.c +++ b/arch/arc/mm/init.c @@ -229,10 +229,3 @@ void __ref free_initmem(void) { free_initmem_default(-1); } - -#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 -- 2.16.2