]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] acpi memory hotplug: remove strange add_memory fail message
authorYasunori Goto <y-goto@jp.fujitsu.com>
Fri, 20 Oct 2006 06:28:31 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:38 +0000 (10:26 -0700)
commit887b95931b4072e60e3bf4253ff7bffe372bca46
tree9d6a9fa71532e1e0846b31ff71431b1067e89601
parent6cbe44cd8d48a92856295f445183f52bf42a544d
[PATCH] acpi memory hotplug: remove strange add_memory fail message

I wrote a patch to avoid redundant memory hot-add call at boot time.  This
was cause of strange fail message of memory hotplug like "ACPI: add_memory
failed".  Memory is recognized by early boot code with EFI/E820.

But, if DSDT describes memory devices for them, then hot-add code is called
for already recognized memory, and it shows fail messages with -EEXIST.
So, sys admin will misunderstand this message as something wrong by it.

This patch avoids them by preventing redundant hot-add call until
completion of driver initialization.

[akpm@osdl.org: cleanups]
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/acpi_memhotplug.c