Received: by 10.213.65.68 with SMTP id h4csp842208imn; Sun, 25 Mar 2018 15:23:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELvLeShp90QDdB2vbxBUd+Seo5RMrvQc5sDI7XjFWzJcSed4yhJ6yKAVCcPjiHSYhdbtJNfd X-Received: by 2002:a17:902:8bc1:: with SMTP id r1-v6mr28259521plo.310.1522016623285; Sun, 25 Mar 2018 15:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016623; cv=none; d=google.com; s=arc-20160816; b=qaBhC//wrknhceTQwVgSX5b/ky3eaG9ie9inXPuXq8B4bYABsgXokgNvlaa7Hqgi3p y9H2WBUt0oYlP4ykHlVMcUX/usyqqUPn7wmF1SXJnoIqHuqu12aaQjhcYaWccDOEcnVy HnJXSgl8gtlB7t85Z6RtYV4YftOtRO3hu4AYpkO1lTZUvw2S/XQcymguXgoWViR5uNqk vvrbAB8rzYn2wRFbIQMkIwxl7xaDWLBcJ82mW8vEj+Y5vhobwWIQptPLcrw4EtThMj/x XXDNy8qOgUO8kWK+s9H/X6saVtHtdZ7jAHNCYF9kO3qfEEuh+CzQl8rmSkLnJeba2D/3 xLsw== 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=JbK5TihJ2uFYFdWOVzD7rJpVd281JuJPT2P9/teG5/I=; b=eoDW/WB0kTN1vrOByCus2hnTHTP5sHyUGEbbQEAbcgxNlpaaVhpWap/4gucLEpVSgN yj+wBSuvQGijpB2XN5RdZJXcCpjgV8Ve30d+7/NM0ht7pismiPPgcb4WiRA9FbgTss+u i2RmZxkTGsWffbnob7I/WGbj041tJOLxnXz8+xAB4xoSfVU6QZykUjozSXIp3LrxdxSS eDMjHinD0SixtFoSVgcOp8K/4XkUgXS8KUmzAzpXX9b9wUrzyxbTbNO4wvwogiEkhxcJ XI7VpIT+Xs18tKbE3vLEiHh+OPD5n7n/B7WUelUp+Ab3Ud4qP/I229VhGJO5Nob/rBMe qDhQ== 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 n9si10628516pfb.166.2018.03.25.15.23.29; Sun, 25 Mar 2018 15:23: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 S1752138AbeCYWVz (ORCPT + 99 others); Sun, 25 Mar 2018 18:21:55 -0400 Received: from smtprelay0056.hostedemail.com ([216.40.44.56]:44090 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752031AbeCYWTl (ORCPT ); Sun, 25 Mar 2018 18:19:41 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 556EA837F242; Sun, 25 Mar 2018 22:19:40 +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:3871:3872:4250:4321:4385:5007:6119:6261:6737:7903:9592:10004:10848:11026:11473:11658:11914:12043:12048:12114:12296:12438:12533:12555:12895:12986:13069:13311:13357:14096:14181:14384:14394:14721:14877:21080:21450:21627:30054:30089,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:16,LUA_SUMMARY:none X-HE-Tag: tent06_373a01bf72102 X-Filterd-Recvd-Size: 2269 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:39 +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 14/16] powerpc: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:51 -0400 Message-Id: <20180325221853.10839-15-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/powerpc/Kconfig | 1 + arch/powerpc/mm/mem.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 73ce5dd07642..8cf384068e79 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -223,6 +223,7 @@ config PPC select HAVE_SYSCALL_TRACEPOINTS select HAVE_VIRT_CPU_ACCOUNTING select HAVE_IRQ_TIME_ACCOUNTING + select INITRAMFS_GENERIC_UNLOAD select IRQ_DOMAIN select IRQ_FORCED_THREADING select MODULES_USE_ELF_RELA diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index fe8c61149fb8..e85b2a3cd264 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -404,13 +404,6 @@ void free_initmem(void) free_initmem_default(POISON_FREE_INITMEM); } -#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 - /* * This is called when a page has been modified by the kernel. * It just marks the page as not i-cache clean. We do the i-cache -- 2.16.2