Received: by 10.213.65.68 with SMTP id h4csp830180imn; Wed, 28 Mar 2018 13:40:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx49kjwZ0rzxWKbgGQ27H8ONPADA4WuHESUglJ2UEphGZ14u39Up0M2j9SmxC9rKo1D6TMXhN X-Received: by 10.101.69.1 with SMTP id n1mr3627980pgq.12.1522269631714; Wed, 28 Mar 2018 13:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522269631; cv=none; d=google.com; s=arc-20160816; b=b7TDitZSKCht3YCTd2f/fGGOmZmpL/gLV+XC7WJz8y6CMNoMXNnceYtQtSFLRpRq7J ZEybQyMB376QOj/Rp4nNNKWVnDs6g+493/sYM6Cc5ROFDO9hS8lCkoJKETjn1yKv41gH Vdg7AP8V0/Sg0sKQ/8FUo1VaNp664NwpmPvgQRdf7o0lJJJDYqroQu2ttXzdio/BWddp iWzYpYhGxGRmzt7TRayhOUYP6SSSlSB4DUfsx0e+8ntTOUZI1IZ3cpnytymFmoBvPS61 g4lWCM1tkYcRlwL+PIKuKvcTtm6bn38zV1bSwt7Qd2/K9thzz/l8rs9HxSUMrofYPTdD GBDQ== 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=tYFhxBb/HmaXq4+LBf2fdI3S130vh7g7ga0Cfl/QVmw=; b=XXb5CVyJaZW8E/Xhf5Q26kETpzTaEJD/6onVDVMYewzDRJgmFMbxf7rZvR+J8nF6lf vjFE+jlV4UiGQ+fayoZihIz30btKpiMaksV3lXJN/1NUyjw9KENPzeyyEBE6Oi/pM5Rx 5YAuQl4gqHRmo3GFesmPskr8DjWBPbiLTy54p635ClrJ26oaxA+/vKeREWJAJ1RAxL5j XN8ZTaH5EU9QNckNtx7HBtQ5D6YuAIxWVc+2i2L/tDrp+KPMqL/OKQVwSHds9reaJHDR gBbahOgqWq7f3Km1y2HJw7wJyerHEKFGMGrh0DwF3/MNdvhMALjWcjx6T0608l+TuwYr EJRA== 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 d6-v6si4107147plo.661.2018.03.28.13.40.17; Wed, 28 Mar 2018 13:40:31 -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 S1753543AbeC1Uh4 (ORCPT + 99 others); Wed, 28 Mar 2018 16:37:56 -0400 Received: from smtprelay0136.hostedemail.com ([216.40.44.136]:33464 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752981AbeC1Uhy (ORCPT ); Wed, 28 Mar 2018 16:37:54 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 47B96180A844B; Wed, 28 Mar 2018 20:37:53 +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:1567: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:12986: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:2,LUA_SUMMARY:none X-HE-Tag: beam07_44cccf605655e X-Filterd-Recvd-Size: 1391 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf07.hostedemail.com (Postfix) with ESMTPA; Wed, 28 Mar 2018 20:37:52 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Ley Foon Tan , nios2-dev@lists.rocketboards.org Subject: [PATCH v4 11/16] nios2: Use generic free_initrd_mem. Date: Wed, 28 Mar 2018 16:36:54 -0400 Message-Id: <20180328203659.18692-12-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/nios2/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c index c92fe4234009..3df75ff8c768 100644 --- a/arch/nios2/mm/init.c +++ b/arch/nios2/mm/init.c @@ -82,13 +82,6 @@ void __init mmu_init(void) flush_tlb_all(); } -#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 - void __ref free_initmem(void) { free_initmem_default(-1); -- 2.16.2