Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365373
b: refs/heads/master
c: e16e0b1
h: refs/heads/master
i:
  365371: ed67338
v: v3
  • Loading branch information
Jiang Liu authored and Linus Torvalds committed Apr 29, 2013
1 parent 7a1d9ef commit a9b3bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88448b65a878525f63f9c0e4bdbf4e74d1960ad2
refs/heads/master: e16e0b1b9884f6b27d8021f6a2fd1fe507af2617
10 changes: 1 addition & 9 deletions trunk/arch/um/kernel/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,7 @@ void free_initmem(void)
#ifdef CONFIG_BLK_DEV_INITRD
void free_initrd_mem(unsigned long start, unsigned long end)
{
if (start < end)
printk(KERN_INFO "Freeing initrd memory: %ldk freed\n",
(end - start) >> 10);
for (; start < end; start += PAGE_SIZE) {
ClearPageReserved(virt_to_page(start));
init_page_count(virt_to_page(start));
free_page(start);
totalram_pages++;
}
free_reserved_area(start, end, 0, "initrd");
}
#endif

Expand Down

0 comments on commit a9b3bdf

Please sign in to comment.