lkml.org 
[lkml]   [2003]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectenable mem= to mark memory as acpi-reserved
Hi!

This enables user to mark memory acpi-reserved; this is needed to get
acpi working on PaceBlade tablet (it has broken e820 tables). Second
diff makes printk output better aligned so it is possible to compare
RAM maps by eyes. Please apply,

Pavel

--- linux/arch/i386/kernel/setup.c 2003-02-11 17:50:57.000000000 +0100
+++ linux-tablet/arch/i386/kernel/setup.c 2003-02-20 18:03:03.000000000 +0100
@@ -546,6 +546,9 @@
if (*from == '@') {
start_at = memparse(from+1, &from);
add_memory_region(start_at, mem_size, E820_RAM);
+ } else if (*from == '#') {
+ start_at = memparse(from+1, &from);
+ add_memory_region(start_at, mem_size, E820_ACPI);
} else {
limit_regions(mem_size);
userdef=1;
@@ -576,7 +582,7 @@
*cmdline_p = command_line;
if (userdef) {
printk(KERN_INFO "user-defined physical RAM map:\n");
- print_memory_map("user");
+ print_memory_map("user ");
}
}

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.098 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site