diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-07-24 15:31:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-07-24 15:31:30 -0400 |
commit | b497500069394c5612a4372536353832d64df37b (patch) | |
tree | a17c9ff37d30367168a180fe963889b5092fd37e | |
parent | c624406fe6275f7fe6e3bf7ea4ddda60637fd3ab (diff) | |
parent | 3f81d2447b37ac697b3c600039f2c6b628c06e21 (diff) |
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Pull arch/tile bugfix from Chris Metcalf:
"This fixes a bug in freeing the initramfs memory"
* 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
tile: use free_bootmem_late() for initrd
-rw-r--r-- | arch/tile/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 99c9ff87e018..6b755d125783 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c | |||
@@ -1139,7 +1139,7 @@ static void __init load_hv_initrd(void) | |||
1139 | 1139 | ||
1140 | void __init free_initrd_mem(unsigned long begin, unsigned long end) | 1140 | void __init free_initrd_mem(unsigned long begin, unsigned long end) |
1141 | { | 1141 | { |
1142 | free_bootmem(__pa(begin), end - begin); | 1142 | free_bootmem_late(__pa(begin), end - begin); |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | static int __init setup_initrd(char *str) | 1145 | static int __init setup_initrd(char *str) |