diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2001-12-22 16:05:41 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2001-12-22 16:05:41 +0000 |
| commit | c573e654b7769ae90a8ae4a34eed0b3a36f439c3 (patch) | |
| tree | 7c96c678372cc5f9e23154023196e80b72311f86 /sys/contrib/dev | |
| parent | 1b3d626a13412d3e64c7431651b8d4bfb08d0296 (diff) | |
Notes
Diffstat (limited to 'sys/contrib/dev')
| -rw-r--r-- | sys/contrib/dev/acpica/exsystem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/contrib/dev/acpica/exsystem.c b/sys/contrib/dev/acpica/exsystem.c index df034483f057..b4625976ec8c 100644 --- a/sys/contrib/dev/acpica/exsystem.c +++ b/sys/contrib/dev/acpica/exsystem.c @@ -147,7 +147,7 @@ AcpiExSystemWaitSemaphore ( ACPI_HANDLE Semaphore, UINT32 Timeout) { - ACPI_STATUS Status; + ACPI_STATUS Status, Status2; FUNCTION_TRACE ("ExSystemWaitSemaphore"); @@ -172,12 +172,12 @@ AcpiExSystemWaitSemaphore ( /* Reacquire the interpreter */ - Status = AcpiExEnterInterpreter (); - if (ACPI_SUCCESS (Status)) + Status2 = AcpiExEnterInterpreter (); + if (ACPI_FAILURE (Status2)) { - /* Restore the timeout exception */ + /* Report fatal error, could not acquire interpreter */ - Status = AE_TIME; + return_ACPI_STATUS (Status2); } } |
