Received: by 10.213.65.68 with SMTP id h4csp1368873imn; Sat, 24 Mar 2018 10:48:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELuaKekLm6/dF38MOzDyLH8UHnYC+/0qyIuy7TZW/4Z0c9wpjxfAtY2kYnyLfMcPncZqBf/U X-Received: by 10.99.123.86 with SMTP id k22mr9933216pgn.228.1521913692977; Sat, 24 Mar 2018 10:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913692; cv=none; d=google.com; s=arc-20160816; b=mBy79OmChtjgBV+RE3QewzL4rfGrZdsFKE3EcIcpph6tmvibAKIrONGdOWZ2ki/Cp/ ZS9ym5aURANMXzK6kTii57VGLEwGYGepQqlzRGDiwzxqtrwLckYnWYcWdIMMsCTkmJ0U ZxepNwXcRXESBZt0iW0ajyoIpRko58CSVzfSJ9jq205ULxWaEIsi8ZyBUqsgs+vwH5FR uB48I10XKQbjRHUEIRcB940h8ebqelVa+yKjoEAhY5/weJlv5bpbBp7PvbJGeMJnh5LU XfJ1+8HaFLeHteg9neje9L/CTQ+Vq2eHDi82Vxga80nzfdWEZ+CQ4+Ai0Sb+K581TNgm 16gQ== 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=05/Xj0GXQoO4sSjM3ptZGY4PQynxWuNNJz1scrzQQN4yGH5VXTzPg9AKk1jJUmBVmt 7fG4s7ZvzL8S6Jab30cejyE4K9PuRckD3p4u2udfwEfh4bo9WmvG2ry/Io2yOQVPyhwR m+TdQwmviAtjwmbt/itUEbTITkTTOa6Avf2No3UkYHrJdYSrdbbwvTf1oWcm0RcMMupB dovgnoRQZ9nP2NvM/Lvzxgf4RKubPJZwvh4fJR/ZThIsqVKJHbx9QKpxEi/2fTaepdW6 V4HqN8jFcC/5ymHGX86tdTkLIU48ISF8zoL7Qh1X1tJBwABSutFAsSN1YQwHE6ltJGIV AF4Q== 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 a12-v6si10829447plp.690.2018.03.24.10.47.58; Sat, 24 Mar 2018 10:48:12 -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 S1752925AbeCXRqo (ORCPT + 99 others); Sat, 24 Mar 2018 13:46:44 -0400 Received: from smtprelay0121.hostedemail.com ([216.40.44.121]:49129 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752836AbeCXRqM (ORCPT ); Sat, 24 Mar 2018 13:46:12 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id D8C49182CED2A; Sat, 24 Mar 2018 17:46:11 +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:1,LUA_SUMMARY:none X-HE-Tag: water71_531850144072d X-Filterd-Recvd-Size: 2221 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf13.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:46:10 +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 14/16] powerpc: Use INITRAMFS_GENERIC_UNLOAD Date: Sat, 24 Mar 2018 13:44:56 -0400 Message-Id: <20180324174458.26423-15-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/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