This patch shows ACPI information of rams which exists at boot time,
maybe will not be used until memory-hot-remove will be implemented.
Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]>
Index: linux-2.6.16-rc5-mm2/drivers/acpi/acpi_memhotplug.c
===================================================================
--- linux-2.6.16-rc5-mm2.orig/drivers/acpi/acpi_memhotplug.c 2006-03-07
15:28:08.000000000 +0900
+++ linux-2.6.16-rc5-mm2/drivers/acpi/acpi_memhotplug.c 2006-03-07
15:28:10.000000000 +0900
@@ -387,6 +387,10 @@
printk(KERN_INFO "%s \n", acpi_device_name(device));
+ /* if memory is available now (we have page memmap), name it */
+ if ( pfn_valid(mem_device->start_addr >> PAGE_SHIFT)) {
+ acpi_memory_device_export_name(mem_device);
+ }
return_VALUE(result);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html