Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18612
b: refs/heads/master
c: f74e667
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Jan 16, 2006
1 parent 7674626 commit 905c517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5580eceed2014135231acb3e6906accf97e10f3c
refs/heads/master: f74e6670c4a788c9a0c52ab2036d8ac6be12f1d8
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void mark_rodata_ro(void)
#ifdef CONFIG_BLK_DEV_INITRD
void free_initrd_mem(unsigned long start, unsigned long end)
{
if (start < (unsigned long)&_end)
if (start >= end)
return;
printk ("Freeing initrd memory: %ldk freed\n", (end - start) >> 10);
for (; start < end; start += PAGE_SIZE) {
Expand Down

0 comments on commit 905c517

Please sign in to comment.