Received: by 10.213.65.68 with SMTP id h4csp1422570imn; Thu, 29 Mar 2018 04:37:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/4KZcuLNJsBNGipUpD5x1DKBB2r1Dr0ybbrRdDkogG0oivhEKB7mKQQJfybEA6X7h75lS3 X-Received: by 10.99.99.65 with SMTP id x62mr5204839pgb.157.1522323437118; Thu, 29 Mar 2018 04:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522323437; cv=none; d=google.com; s=arc-20160816; b=H32NeYT7GJljdSeLzun/AfQOXi0uYaP+ti8TUGdNxv/qcJi/1FWWVgKPjnhTAVzbGt 5fiQjh97X/19YV/z7Dq6DIJ6CstozOOM8Ta7UHnAxflkb2BwykHA25bSpIpXaSrJtAR3 oe4GlzsbFsOB8yykiY6WbdtlrU9wxKskF3brStsr5MS2v96wdLoURhqEzQMzfLXLdvsX NNKVNgsm+/MAsYSbT1NyO5NjESuU4xj2FvXMicpBG0PHY0lG+3OxsPTvmoAz5MISTBwy 6b4hdgUTFiVzNkmyCwhJnf9SdSbZb4sPTUpb8iiwcUHODQRbT2QlrQ4QoRx2lfcxu8ke dKdg== 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=TJ4sN7obqZ94qO8yl7Q6Mb9yZVmpA+Mf1c6Py72Hb1o=; b=wH53SvAt/f85ZJtnQaA4Ik+R3PuJtmbO3IhJ9PwQfZSl8H3Rqv53hUx45mrK7duqGg rGluwZm8QOefaZqyV8Gqbjkzecub0oqU+WguhFcUdxKDR0ddkAB+EYJPogV9gcsJiFr0 34BXNccz/HMeS3sK/Q6xQNcJf/N+AwHEN/PAm+kU5GgfS4lMgBFqnjLeLyj1mx1c8I1r up7aniPj8Z399qarinLinftlOR7dm1Q6b1Vrhw5wQ37e+g6pnPAWNb2GLo8gcr5Mr3F1 hyVtBZ4A0haPcfZerYgjplVbBqx0zuQtM7vjB9HoB/XCdzb9u6VgqsldbC9xu2RwCl/4 JrgQ== 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 h190si3879801pge.13.2018.03.29.04.37.02; Thu, 29 Mar 2018 04:37:17 -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 S1753312AbeC2Lfj (ORCPT + 99 others); Thu, 29 Mar 2018 07:35:39 -0400 Received: from smtprelay0210.hostedemail.com ([216.40.44.210]:37134 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753165AbeC2Lcy (ORCPT ); Thu, 29 Mar 2018 07:32:54 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id EFE2F68A9; Thu, 29 Mar 2018 11:32: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: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: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: hot63_1934750b0960c X-Filterd-Recvd-Size: 1500 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:53 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Mark Salter , Aurelien Jacquiot , linux-c6x-dev@linux-c6x.org Subject: [PATCH v5 05/16] c6x: Switch to generic free_initrd_mem. Date: Thu, 29 Mar 2018 07:31:56 -0400 Message-Id: <20180329113207.30674-5-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/c6x/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c index 4cc72b0d1c1d..a11cb657182a 100644 --- a/arch/c6x/mm/init.c +++ b/arch/c6x/mm/init.c @@ -66,13 +66,6 @@ void __init mem_init(void) mem_init_print_info(NULL); } -#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 __init free_initmem(void) { free_initmem_default(-1); -- 2.16.2