diff options
Diffstat (limited to 'drivers/acpi/utilities/utmisc.c')
-rw-r--r-- | drivers/acpi/utilities/utmisc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c index 474fe7cb6c09..f0275025b718 100644 --- a/drivers/acpi/utilities/utmisc.c +++ b/drivers/acpi/utilities/utmisc.c | |||
@@ -78,6 +78,10 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id) | |||
78 | 78 | ||
79 | for (i = 0; i < 32; i++) { | 79 | for (i = 0; i < 32; i++) { |
80 | if (!(acpi_gbl_owner_id_mask & (1 << i))) { | 80 | if (!(acpi_gbl_owner_id_mask & (1 << i))) { |
81 | ACPI_DEBUG_PRINT((ACPI_DB_VALUES, | ||
82 | "Current owner_id mask: %8.8X New ID: %2.2X\n", | ||
83 | acpi_gbl_owner_id_mask, (i + 1))); | ||
84 | |||
81 | acpi_gbl_owner_id_mask |= (1 << i); | 85 | acpi_gbl_owner_id_mask |= (1 << i); |
82 | *owner_id = (acpi_owner_id) (i + 1); | 86 | *owner_id = (acpi_owner_id) (i + 1); |
83 | goto exit; | 87 | goto exit; |
@@ -119,7 +123,7 @@ void acpi_ut_release_owner_id(acpi_owner_id * owner_id_ptr) | |||
119 | acpi_owner_id owner_id = *owner_id_ptr; | 123 | acpi_owner_id owner_id = *owner_id_ptr; |
120 | acpi_status status; | 124 | acpi_status status; |
121 | 125 | ||
122 | ACPI_FUNCTION_TRACE("ut_release_owner_id"); | 126 | ACPI_FUNCTION_TRACE_U32("ut_release_owner_id", owner_id); |
123 | 127 | ||
124 | /* Always clear the input owner_id (zero is an invalid ID) */ | 128 | /* Always clear the input owner_id (zero is an invalid ID) */ |
125 | 129 | ||