Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1205710 > unrolled thread

[PATCH 3.16.y-ckt 098/118] tile: use free_bootmem_late() for initrd

Started byLuis Henriques <luis.henriques@canonical.com>
First post2015-08-12 11:00 +0200
Last post2015-08-12 11:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.16.y-ckt 098/118] tile: use free_bootmem_late() for initrd Luis Henriques <luis.henriques@canonical.com> - 2015-08-12 11:00 +0200

#1205710 — [PATCH 3.16.y-ckt 098/118] tile: use free_bootmem_late() for initrd

FromLuis Henriques <luis.henriques@canonical.com>
Date2015-08-12 11:00 +0200
Subject[PATCH 3.16.y-ckt 098/118] tile: use free_bootmem_late() for initrd
Message-ID<pWA38-7Qw-17@gated-at.bofh.it>
3.16.7-ckt16 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: Chris Metcalf <cmetcalf@ezchip.com>

commit 3f81d2447b37ac697b3c600039f2c6b628c06e21 upstream.

We were previously using free_bootmem() and just getting lucky
that nothing too bad happened.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 arch/tile/kernel/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index 112ababa9e55..d8a9df999da3 100644
--- a/arch/tile/kernel/setup.c
+++ b/arch/tile/kernel/setup.c
@@ -1144,7 +1144,7 @@ static void __init load_hv_initrd(void)
 
 void __init free_initrd_mem(unsigned long begin, unsigned long end)
 {
-	free_bootmem(__pa(begin), end - begin);
+	free_bootmem_late(__pa(begin), end - begin);
 }
 
 static int __init setup_initrd(char *str)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web