[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180328203659.18692-15-shea@shealevy.com>
Date: Wed, 28 Mar 2018 16:36:57 -0400
From: Shea Levy <shea@...alevy.com>
To: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Shea Levy <shea@...alevy.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Michal Hocko <mhocko@...e.com>,
Vlastimil Babka <vbabka@...e.cz>,
Andrew Morton <akpm@...ux-foundation.org>,
Dan Williams <dan.j.williams@...el.com>,
Christophe Leroy <christophe.leroy@....fr>,
"Oliver O'Halloran" <oohall@...il.com>,
Joe Perches <joe@...ches.com>, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH v4 14/16] powerpc: Use generic free_initrd_mem.
Signed-off-by: Shea Levy <shea@...alevy.com>
---
arch/powerpc/mm/mem.c | 7 -------
1 file changed, 7 deletions(-)
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
Powered by blists - more mailing lists