提交 07536e27 编写于 作者: B Bob Moore 提交者: 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: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册