diff options
author | jkim <jkim@FreeBSD.org> | 2007-03-26 21:56:35 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2007-03-26 21:56:35 +0000 |
commit | 85b6f9c7d1d2761b78f1bcc8f363dd017a705ca7 (patch) | |
tree | f1c51be8bd9f845b5b3d2d9d84419e0fb3f83cc2 /sys/dev | |
parent | 093bc60d22712a5deaa64cf6d219143ebc398b98 (diff) | |
download | FreeBSD-src-85b6f9c7d1d2761b78f1bcc8f363dd017a705ca7.zip FreeBSD-src-85b6f9c7d1d2761b78f1bcc8f363dd017a705ca7.tar.gz |
Correct ACPI semaphore function parameters.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpica/Osd/OsdSynch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpica/Osd/OsdSynch.c b/sys/dev/acpica/Osd/OsdSynch.c index f153b38..56dfbc9 100644 --- a/sys/dev/acpica/Osd/OsdSynch.c +++ b/sys/dev/acpica/Osd/OsdSynch.c @@ -77,7 +77,7 @@ SYSCTL_INT(_debug_acpi, OID_AUTO, semaphore_debug, CTLFLAG_RW, ACPI_STATUS AcpiOsCreateSemaphore(UINT32 MaxUnits, UINT32 InitialUnits, - ACPI_HANDLE *OutHandle) + ACPI_SEMAPHORE *OutHandle) { #ifndef ACPI_NO_SEMAPHORES struct acpi_semaphore *as; @@ -110,7 +110,7 @@ AcpiOsCreateSemaphore(UINT32 MaxUnits, UINT32 InitialUnits, } ACPI_STATUS -AcpiOsDeleteSemaphore(ACPI_HANDLE Handle) +AcpiOsDeleteSemaphore(ACPI_SEMAPHORE Handle) { #ifndef ACPI_NO_SEMAPHORES struct acpi_semaphore *as = (struct acpi_semaphore *)Handle; @@ -131,7 +131,7 @@ AcpiOsDeleteSemaphore(ACPI_HANDLE Handle) * use getmicrotime() to correctly adjust the timeout after being woken up. */ ACPI_STATUS -AcpiOsWaitSemaphore(ACPI_HANDLE Handle, UINT32 Units, UINT16 Timeout) +AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout) { #ifndef ACPI_NO_SEMAPHORES ACPI_STATUS result; @@ -290,7 +290,7 @@ AcpiOsWaitSemaphore(ACPI_HANDLE Handle, UINT32 Units, UINT16 Timeout) } ACPI_STATUS -AcpiOsSignalSemaphore(ACPI_HANDLE Handle, UINT32 Units) +AcpiOsSignalSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units) { #ifndef ACPI_NO_SEMAPHORES struct acpi_semaphore *as = (struct acpi_semaphore *)Handle; |