diff options
author | Yasunori Goto <y-goto@jp.fujitsu.com> | 2006-08-15 01:37:32 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-08-16 00:29:26 -0400 |
commit | 07dd4855e7fffeb50565826e5e736509ee8f6129 (patch) | |
tree | 5202c3ac0f0db51a87db3e6649896cae01a020eb /drivers | |
parent | e9a315bcae3b9e0c54fb68ef90d0095956314480 (diff) |
ACPI: memory hotplug: remove useless message at boot time
This is to remove noisy useless message at boot. The message is a ton of
"ACPI Exception (acpi_memory-0492): AE_ERROR, handle is no memory device"
In my emulation, number of memory devices are not so many (only 6), but,
this messages are displayed 114 times.
It is showed by acpi_memory_register_notify_handler() which is called by
acpi_walk_namespace().
acpi_walk_namespace() parses all of ACPI's namespace and execute
acpi_memory_register_notify_handler(). So, it is called for all of the
device which is defined in namespace. If the parsing device is not memory,
acpi_memhotplug ignores it due to "no match" and will parse next device.
This is normal route, not an exception.
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/acpi_memhotplug.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c index b0d4b147b19e..1dda370f402b 100644 --- a/drivers/acpi/acpi_memhotplug.c +++ b/drivers/acpi/acpi_memhotplug.c | |||
@@ -484,10 +484,8 @@ acpi_memory_register_notify_handler(acpi_handle handle, | |||
484 | 484 | ||
485 | 485 | ||
486 | status = is_memory_device(handle); | 486 | status = is_memory_device(handle); |
487 | if (ACPI_FAILURE(status)){ | 487 | if (ACPI_FAILURE(status)) |
488 | ACPI_EXCEPTION((AE_INFO, status, "handle is no memory device")); | ||
489 | return AE_OK; /* continue */ | 488 | return AE_OK; /* continue */ |
490 | } | ||
491 | 489 | ||
492 | status = acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY, | 490 | status = acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY, |
493 | acpi_memory_device_notify, NULL); | 491 | acpi_memory_device_notify, NULL); |
@@ -503,10 +501,8 @@ acpi_memory_deregister_notify_handler(acpi_handle handle, | |||
503 | 501 | ||
504 | 502 | ||
505 | status = is_memory_device(handle); | 503 | status = is_memory_device(handle); |
506 | if (ACPI_FAILURE(status)){ | 504 | if (ACPI_FAILURE(status)) |
507 | ACPI_EXCEPTION((AE_INFO, status, "handle is no memory device")); | ||
508 | return AE_OK; /* continue */ | 505 | return AE_OK; /* continue */ |
509 | } | ||
510 | 506 | ||
511 | status = acpi_remove_notify_handler(handle, | 507 | status = acpi_remove_notify_handler(handle, |
512 | ACPI_SYSTEM_NOTIFY, | 508 | ACPI_SYSTEM_NOTIFY, |