summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpiosxf.h
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2011-03-23 10:26:34 +0100
committerLen Brown <len.brown@intel.com>2011-03-25 09:32:33 +0100
commit9f63b88bd7a1ac1afbb4358772a39abaeddbdd13 (patch)
tree1b95ed2997b6a02305add78f20805fee5b3fb269 /include/acpi/acpiosxf.h
parentACPICA: Update version to 20110316 (diff)
downloadlinux-9f63b88bd7a1ac1afbb4358772a39abaeddbdd13.tar.xz
linux-9f63b88bd7a1ac1afbb4358772a39abaeddbdd13.zip
ACPI: osl, add acpi_os_create_lock interface
Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpiosxf.h')
-rw-r--r--include/acpi/acpiosxf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h
index a3252a5ead66..a756bc8d866d 100644
--- a/include/acpi/acpiosxf.h
+++ b/include/acpi/acpiosxf.h
@@ -98,6 +98,9 @@ acpi_os_table_override(struct acpi_table_header *existing_table,
/*
* Spinlock primitives
*/
+acpi_status
+acpi_os_create_lock(acpi_spinlock *out_handle);
+
void acpi_os_delete_lock(acpi_spinlock handle);
acpi_cpu_flags acpi_os_acquire_lock(acpi_spinlock handle);