Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107017
b: refs/heads/master
c: bd673c7
h: refs/heads/master
i:
  107015: 61fec91
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Jul 30, 2008
1 parent ff698d1 commit 4f04d23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 06ac667903ebea8191d4f7e7fa4e0936161e25fe
refs/heads/master: bd673c7c3b1681dbfabab0062e67398dadf806af
5 changes: 3 additions & 2 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,11 @@ asmlinkage void __init start_kernel(void)

#ifdef CONFIG_BLK_DEV_INITRD
if (initrd_start && !initrd_below_start_ok &&
page_to_pfn(virt_to_page(initrd_start)) < min_low_pfn) {
page_to_pfn(virt_to_page((void *)initrd_start)) < min_low_pfn) {
printk(KERN_CRIT "initrd overwritten (0x%08lx < 0x%08lx) - "
"disabling it.\n",
page_to_pfn(virt_to_page(initrd_start)), min_low_pfn);
page_to_pfn(virt_to_page((void *)initrd_start)),
min_low_pfn);
initrd_start = 0;
}
#endif
Expand Down

0 comments on commit 4f04d23

Please sign in to comment.