Received: by 10.213.65.68 with SMTP id h4csp843106imn; Sun, 25 Mar 2018 15:25:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELsRF862DBW6mSS27V1Nw5X0TcL8gYihdFBynMmatP3m7y9927F3JWMw0o+MgKsXoYpWrK0s X-Received: by 10.167.129.24 with SMTP id b24mr30925607pfi.183.1522016743211; Sun, 25 Mar 2018 15:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016743; cv=none; d=google.com; s=arc-20160816; b=ztqqZ/pqLAtXENbtFNNRq33+0r0A4UNzSam3a3fOxbYNLAN95068d/mDity2aMq74y 8UfMrqLlpdtI0NLyWgOryU1sroEBoPEV7oEAidDPg8kM6kn4FEBi9oGX3DtiPQg6Toxw q0LYPpywqu4h5NBjfQd11yTGVn6jzJfUeOdq+oOxpxc19lGyVS/tom8Z6m0fy0mSXKnr +9aQ7M8Dbz7GKQeEX8uO7CYz9uWF2WXJXZVryw01omkmaSgLeuPeAg2tYCd3+qkBfzHO Buj8ZsHfZfUI5Uapupn635QQ94Rze00OXHQnZ7/Mw+y7qfmueRTjhwqoZV/Nm+k988e0 Egog== 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=iFh1z7YRbADcVkK0Y0CZ0182Ron8SOFuKFbTfEjp9xw=; b=UajI3LgrZo+ywLkWB0WsVeDFRGeC0q4F055rpwYrqpduLYzr0UakfeZhWCieXvThav VPNog4iQELxRTjBZdn6LIByzxUCj3/VyHIlDYjb1ufzaC0GmIuhiKX1ctdy1p/16dSLX mzx9XI+QPC44acKlV7BEPvh1ny5sqzs5iQi6isjkCYu+yVZAsSM2vrolRYdmyX4gs39G bTDY2KbZDk1ywAVRLrlp51j5QKqAsQC+5sFKWuvyDxbb6F1a/PmsHaJ7w/DlNMlrfpOT Dw91M1UJpWQNF1QyDS9McJ5DisG1Dl3T3QSKKDWSIZKrOw6NpLroZ0HPh0cZjeBTE0Ql 9b7Q== 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 y19si9198741pgc.540.2018.03.25.15.25.28; Sun, 25 Mar 2018 15:25:43 -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 S1752489AbeCYWTf (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:35 -0400 Received: from smtprelay0149.hostedemail.com ([216.40.44.149]:44056 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752206AbeCYWTT (ORCPT ); Sun, 25 Mar 2018 18:19:19 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id D489E837F24A; Sun, 25 Mar 2018 22:19:17 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:800:960:966:973:988:989:1260:1345:1359:1534:1540:1711:1714:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3351:3876:3877:4250:4321:4385:5007:6114:6261:6642:6737:9592:10004:10848:11026:11473:11658:11914:12048:12114:12296:12438:12533:12555:12895:13069:13311:13357:14096: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:1,LUA_SUMMARY:none X-HE-Tag: kite54_33f270127c933 X-Filterd-Recvd-Size: 2079 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; Sun, 25 Mar 2018 22:19:16 +0000 (UTC) From: Shea Levy To: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-c6x-dev@linux-c6x.org, uclinux-h8-devel@lists.sourceforge.jp, linux-m68k@lists.linux-m68k.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Cc: Shea Levy Subject: [PATCH v2 05/16] c6x: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:42 -0400 Message-Id: <20180325221853.10839-6-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180325221853.10839-1-shea@shealevy.com> References: <20180324174458.26423-1-shea@shealevy.com> <20180325221853.10839-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/c6x/Kconfig | 1 + arch/c6x/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig index c6b4dd1418b4..857f95f9a6a4 100644 --- a/arch/c6x/Kconfig +++ b/arch/c6x/Kconfig @@ -19,6 +19,7 @@ config C6X select GENERIC_CLOCKEVENTS select MODULES_USE_ELF_RELA select ARCH_NO_COHERENT_DMA_MMAP + select INITRAMFS_GENERIC_UNLOAD config MMU def_bool n 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