Messages in this thread Patch in this message | | | Date | Thu, 20 Feb 2003 22:56:38 +0100 | From | Pavel Machek <> | Subject | enable 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/
| |