diff options
author | Toshi Kani <toshi.kani@hp.com> | 2013-07-03 15:02:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:31 -0700 |
commit | 4996eed867a7215958267252fafddc41d5f26140 (patch) | |
tree | 71977e18000fc0aaddf44b7454b3d76f3ac09b4a /mm/balloon_compaction.c | |
parent | f15bdfa802bfa5eb6b4b5a241b97ec9fa1204a35 (diff) | |
download | linux-4996eed867a7215958267252fafddc41d5f26140.tar.gz linux-4996eed867a7215958267252fafddc41d5f26140.tar.bz2 linux-4996eed867a7215958267252fafddc41d5f26140.zip |
mm/memory_hotplug.c: change normal message to use pr_debug
During early boot-up, iomem_resource is set up from the boot descriptor
table, such as EFI Memory Table and e820. Later,
acpi_memory_device_add() calls add_memory() for each ACPI memory device
object as it enumerates ACPI namespace. This add_memory() call is
expected to fail in register_memory_resource() at boot since
iomem_resource has been set up from EFI/e820. As a result, add_memory()
returns -EEXIST, which acpi_memory_device_add() handles as the normal
case.
This scheme works fine, but the following error message is logged for
every ACPI memory device object during boot-up.
"System RAM resource %pR cannot be added\n"
This patch changes register_memory_resource() to use pr_debug() for the
message as it shows up under the normal case.
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/balloon_compaction.c')
0 files changed, 0 insertions, 0 deletions