Received: by 10.213.65.68 with SMTP id h4csp844040imn; Sun, 25 Mar 2018 15:27:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+14ml5fOQqJ1n81f3L0Pqj/OziTTEkn8gqKQlrRqxPbBdyyRv+e7JOJqazMs4LEXS4GGvf X-Received: by 2002:a17:902:71c3:: with SMTP id t3-v6mr1854634plm.284.1522016853972; Sun, 25 Mar 2018 15:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016853; cv=none; d=google.com; s=arc-20160816; b=diNoOL+MlwzRuwneaACwCM26FTnxrfprY06dtsGD8TkLaC3UL0u+63O/d0IfeZ/5O4 owOGnzm6hd0vBFyVaVf+UqAuQRYUfgt4AJ1YPfWzTWlO3kX6xgkVA01PLTYu8Q/rqGkO IWdZYaGqYU8yNVjvQChi/TtrgOoNb1hEkf1FGsz6Z4XJkt6/LXtRNCQA1ZsN7xuB0n/Z Hik8ARiVR2/GUkD0uYDAFE6NarKuV9qraEwOfxQtmTUWHqpx0G97/ng77w/JtR0Festg rrBImLNClbYfjqj0YuyUKfTrdEU7wL3Ti6pv4MkTWazi2DP0Fctq1CSRyP3glJiYCkan DfIA== 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=rdvv98YSCZYPOmE4tzh6kYrddC7XeW04D1wUCs14aqY=; b=DnoSrwdLqziy97LxqSVdRr1YQxQUt3DY6a39Bxs+osGA8DM18Fs/xt09UObWqvngtk 4jj9+3PP3gttIZeuSdepfu6GhVrXfgNezUBr7aT8Gh9/+JK5G3i+qrEgSIGXDnCiKo/9 SuPQDQoQes600ZPumnN8PXuphdkgw/q2hnAw+6ZLQBJcmyZirftskl9n8kPDxwSTuBkW MunUOMXX7M2hqVKTn3rzk9pwCkIG7ZKr0dMn9zvvfB0epr+H2xPsnOBZhBSbIrZlf+Tq xoFoHcHD1tfoE1nU3edhhKrYwkikNta1WxCnKO666wbWs+4J0USGlUgSjtNW41BtXXAl qnDQ== 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 o16si9079564pgc.832.2018.03.25.15.27.19; Sun, 25 Mar 2018 15:27:33 -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 S1752385AbeCYWT3 (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:29 -0400 Received: from smtprelay0008.hostedemail.com ([216.40.44.8]:58620 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752175AbeCYWTN (ORCPT ); Sun, 25 Mar 2018 18:19:13 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id E9C84181D3368; Sun, 25 Mar 2018 22:19:12 +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:1437:1534:1541:1711:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3868:3871:4250:4321:4385:5007:6261:6737:7903:9592:10004:10848:11026:11473:11658:11914:12048:12114:12296:12438:12533:12555:12895:12986:13069:13311:13357:14096: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: chair83_333cfe13ad225 X-Filterd-Recvd-Size: 2142 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:12 +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 03/16] alpha: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:40 -0400 Message-Id: <20180325221853.10839-4-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/alpha/Kconfig | 1 + arch/alpha/mm/init.c | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index e96adcbcab41..238d743ae8f2 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -27,6 +27,7 @@ config ALPHA select ODD_RT_SIGACTION select OLD_SIGSUSPEND select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67 + select INITRAMFS_GENERIC_UNLOAD help The Alpha is a 64-bit general-purpose processor designed and marketed by the Digital Equipment Corporation of blessed memory, diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c index 9d74520298ab..55f7c8efa962 100644 --- a/arch/alpha/mm/init.c +++ b/arch/alpha/mm/init.c @@ -291,11 +291,3 @@ free_initmem(void) { free_initmem_default(-1); } - -#ifdef CONFIG_BLK_DEV_INITRD -void -free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif -- 2.16.2