Commit 07536e27 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Export the public mutex interfaces

ACPICA commit ff09dcf9eb69fe9318034c60c377436030e7feea

These interfaces are intended to be used by device drivers.

Link: https://github.com/acpica/acpica/commit/ff09dcf9Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 6f0527b7
...@@ -151,6 +151,8 @@ acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) ...@@ -151,6 +151,8 @@ acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout)
return (status); return (status);
} }
ACPI_EXPORT_SYMBOL(acpi_acquire_mutex)
/******************************************************************************* /*******************************************************************************
* *
* FUNCTION: acpi_release_mutex * FUNCTION: acpi_release_mutex
...@@ -167,7 +169,6 @@ acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) ...@@ -167,7 +169,6 @@ acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout)
* not both. * not both.
* *
******************************************************************************/ ******************************************************************************/
acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname)
{ {
acpi_status status; acpi_status status;
...@@ -185,3 +186,5 @@ acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) ...@@ -185,3 +186,5 @@ acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname)
acpi_os_release_mutex(mutex_obj->mutex.os_mutex); acpi_os_release_mutex(mutex_obj->mutex.os_mutex);
return (AE_OK); return (AE_OK);
} }
ACPI_EXPORT_SYMBOL(acpi_release_mutex)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment