diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2006-04-27 05:25:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-27 00:00:21 -0400 |
commit | 9e7e2c047503db5a094ab30c7b4b8a5a0a324915 (patch) | |
tree | 2dbdd695431265a580e730035514ac6ece22afe5 /drivers/acpi/osl.c | |
parent | be63c925a123b492fc05063c98ca7e9f7453a58a (diff) |
ACPI: acpi_os_wait_semaphore(): silence complaint
The ASL Acquire operator (17.5.1 in ACPI 3.0 spec) is allowed to time out
and return True without acquiring the semaphore. There's no indication in
the spec that this is an actual error, so this message should be
debug-only, as the message for successful acquisition is.
This used to be an ACPI_DEBUG_PRINT, but it was mis-classified as
ACPI_DB_ERROR rather than ACPI_DB_MUTEX, so it got swept up in Thomas'
recent patch to enable ACPI error messages even without CONFIG_ACPI_DEBUG.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 740a3c414898..2d90b8d2dd73 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -840,7 +840,7 @@ acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) | |||
840 | } | 840 | } |
841 | 841 | ||
842 | if (ACPI_FAILURE(status)) { | 842 | if (ACPI_FAILURE(status)) { |
843 | ACPI_EXCEPTION((AE_INFO, status, | 843 | ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, |
844 | "Failed to acquire semaphore[%p|%d|%d], %s", | 844 | "Failed to acquire semaphore[%p|%d|%d], %s", |
845 | handle, units, timeout, | 845 | handle, units, timeout, |
846 | acpi_format_exception(status))); | 846 | acpi_format_exception(status))); |