Attachment 'e820.patch'
Download
Toggle line numbers
1 --- arch/x86/kernel/e820.c.bak 2009-05-06 05:25:52.000000000 -0400
2 +++ arch/x86/kernel/e820.c 2009-05-06 05:25:58.000000000 -0400
3 @@ -1091,12 +1091,14 @@
4 }
5 unsigned long __init e820_end_of_ram_pfn(void)
6 {
7 - return e820_end_pfn(MAX_ARCH_PFN, E820_RAM);
8 + unsigned long r = e820_end_pfn(MAX_ARCH_PFN, E820_RAM);
9 + return (r > 0x100000) ? r : 0x100000;
10 +
11 }
12
13 unsigned long __init e820_end_of_low_ram_pfn(void)
14 {
15 - return e820_end_pfn(1UL<<(32 - PAGE_SHIFT), E820_RAM);
16 + return 0x100000;
17 }
18 /*
19 * Finds an active region in the address range from start_pfn to last_pfn and
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.