[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1550515285-17446-3-git-send-email-rppt@linux.ibm.com>
Date: Mon, 18 Feb 2019 20:41:23 +0200
From: Mike Rapoport <rppt@...ux.ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Christoph Hellwig <hch@....de>, Palmer Dabbelt <palmer@...ive.com>,
Richard Kuo <rkuo@...eaurora.org>, linux-arch@...r.kernel.org,
linux-hexagon@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linux-riscv@...ts.infradead.org,
Mike Rapoport <rppt@...ux.ibm.com>
Subject: [PATCH v2 2/4] hexagon: switch over to generic free_initmem()
hexagon implementation of free_initmem() is currently empty and marked with
comment
* Todo: free pages between __init_begin and __init_end; possibly
* some devtree related stuff as well.
Switch it to the generic implementation.
Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>
---
arch/hexagon/mm/init.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/hexagon/mm/init.c b/arch/hexagon/mm/init.c
index 1719ede..41cf342 100644
--- a/arch/hexagon/mm/init.c
+++ b/arch/hexagon/mm/init.c
@@ -85,16 +85,6 @@ void __init mem_init(void)
}
/*
- * free_initmem - frees memory used by stuff declared with __init
- *
- * Todo: free pages between __init_begin and __init_end; possibly
- * some devtree related stuff as well.
- */
-void __ref free_initmem(void)
-{
-}
-
-/*
* free_initrd_mem - frees... initrd memory.
* @start - start of init memory
* @end - end of init memory
--
2.7.4
Powered by blists - more mailing lists