Received: by 10.213.65.68 with SMTP id h4csp843316imn; Sun, 25 Mar 2018 15:26:06 -0700 (PDT) X-Google-Smtp-Source: AG47ELt6vMsoSO5BfYSM2PzOIn19RexOmZNy2Gt5MfWGnyzmoz0gIH8nhZerxOt2hLBaMFk3XYmY X-Received: by 2002:a17:902:43a4:: with SMTP id j33-v6mr18775898pld.260.1522016766501; Sun, 25 Mar 2018 15:26:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016766; cv=none; d=google.com; s=arc-20160816; b=lwuK30/NDZHeMcg9F+9pCcy+3AAVvwgQ3VQo4onK8A5+FVg+32fwv0pn6ibcfi7ITU bjb+WyN6RZwwjEmhYjYKjvM5O0/L8jzc+kGVA3fov9R+mmGmh2dztwRyrMDOKkVgqOCW Htt+QXZoWdItIEBCHs/M7S+PVtVbwFlMJ4zbmXU/XFGgiD5+5vJCfE3ycDP1pnvr5yNs obqtkERClAXRId3JVQtJWo0PRNBZLMh67B5TNJW4g2qre7yXl4Ys9GAWy9WIYjDMcUZO sfGM2vv1USmMgThxvANbWOcX17FwHX6X8pjXVFXc3GQ+pnLudw6RjxRmeLFuC5Q8haB/ bqhw== 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=aT3Jk+QECi1cCOQjQ5SHF/I+1ERnXQ4RlewbNfXUBa4=; b=dL0eyBqIAXPSggpbypu2VLmnmktPR263p4eEA2lkLACAemqSJ3wjS923UIl/yXtCVs msmjFxIdhaysWpQHLjyARdxJ2HyjpQ9BMDHaPvLl1BkbqJY8EtoKvijc6Rbo8jLQ1YZx Lyc3AXR+kgELQWnnr27VadEtxcHVVgVTEjmMiwm3lH8NCz0SIJoq47kP/2N9Af21o/GZ kXfjgh12l8Vk5rroMwqsqDqiOyh2qDHroOMTcYBmCQbd31HcvJYy15u79HYxU7SDeB95 yl/tDJdgviIqxGNUDS5v4MRJXUh4E5ShYpxF9YJRHLbOZKG+4Vgx0ahWRMhF4KPxxeat Q6DQ== 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 f3-v6si7591035plb.570.2018.03.25.15.25.52; Sun, 25 Mar 2018 15:26:06 -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 S1752454AbeCYWTb (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:31 -0400 Received: from smtprelay0164.hostedemail.com ([216.40.44.164]:58632 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752190AbeCYWTQ (ORCPT ); Sun, 25 Mar 2018 18:19:16 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 6A432181D3419; Sun, 25 Mar 2018 22:19:15 +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:12438:12533:12555:12895:12986: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:20,LUA_SUMMARY:none X-HE-Tag: note73_339c541254304 X-Filterd-Recvd-Size: 2016 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:14 +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 04/16] arc: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:41 -0400 Message-Id: <20180325221853.10839-5-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/arc/Kconfig | 1 + arch/arc/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index d76bf4a83740..2844ce5b910c 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -44,6 +44,7 @@ config ARC select HAVE_GENERIC_DMA_COHERENT select HAVE_KERNEL_GZIP select HAVE_KERNEL_LZMA + select INITRAMFS_GENERIC_UNLOAD config MIGHT_HAVE_PCI bool 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