Received: by 10.213.65.68 with SMTP id h4csp1369983imn; Sat, 24 Mar 2018 10:50:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELsKsLS+PtaCFsE4UFfIq9UmyRnxBbC2w4o7QNVSIL7Hv5ptmZTRu4lWxZXlXCqXGaBdcYH+ X-Received: by 10.99.1.133 with SMTP id 127mr17904116pgb.24.1521913807118; Sat, 24 Mar 2018 10:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913807; cv=none; d=google.com; s=arc-20160816; b=GPGjVyXOh62BmZD1rSNpIG//I84YoNw8I9YutTM4Ll1S486fiFzfBdpzMjS6sRin63 O5Rz/bWReHfCYVZOBCGwn6B9EY1Gf9f54snsro5B8FPMnb+FlUwvvHo+vtJuf7gR0uzT lGPZREriJcYYZVPCPebsW+Cc5bW6zZ7lFBHFMHwSLZlyMOr7HV8QNxRfE7eQ5UT4eksY 8Rv5E6jDhnFAj0TTyt4L9UAdbDcandNH57k46oSnzFbfhzt5kAHiBEbG+Kzv3UK5YhZe wgV6d2FwlZTWwvQtEE+pbD28x2q7CnEHyzFK/0dqOTvKBRkRdyMHpfFP2NTiEOFBKD7y pnXg== 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=jbvFjz7zRbnjEVWmwcnAIRGdwV1eI54OkuM/9LGJNd3cUepdDF4+deI9FU6e+lI4Ij abD/PNXZPtWflel8w5/nF0JPTXT53E2y0YBLnoHNDqlmMm14mAj7tdjfyOwPMldcWOyw r2lEpfWosXn2pU2/iigVB0dBhB+5kbAjHHuQqgXpVcFKaVyws6RwySE0IG8B0vR9PB5s 33V3HyZBkS+tXYxx0G7Q2GTbdFX2EY2mFX8m7lkOUbAN2GTh7MHCoMy63MZOd/fMqdxh G5RiVe20/2YFQZm8CWiPGtcTo/fiPhMB6OjO9snlevOHYD/obXC2XNtKzEFVLnwjKsrk kSCQ== 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 1-v6si5469883plt.283.2018.03.24.10.49.52; Sat, 24 Mar 2018 10:50:07 -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 S1752778AbeCXRp5 (ORCPT + 99 others); Sat, 24 Mar 2018 13:45:57 -0400 Received: from smtprelay0148.hostedemail.com ([216.40.44.148]:52056 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752704AbeCXRpr (ORCPT ); Sat, 24 Mar 2018 13:45:47 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id B4EFF18029210; Sat, 24 Mar 2018 17:45:46 +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:20,LUA_SUMMARY:none X-HE-Tag: woman59_4f6e101b18c4f X-Filterd-Recvd-Size: 2094 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:45:45 +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 03/16] alpha: Use INITRAMFS_GENERIC_UNLOAD Date: Sat, 24 Mar 2018 13:44:45 -0400 Message-Id: <20180324174458.26423-4-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180324174458.26423-1-shea@shealevy.com> References: <20180324174458.26423-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