aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-08-13 21:34:03 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-08-13 21:34:03 +0000
commit3bd12ca8f16af8e8ba3222f834c8df7ba2e3e230 (patch)
treec107646499bee791de8ebb32d0ccc9dcd8f89fce /sys/amd64
parent9908a5a5e111cb44a9b1549b1d9bf862868cde6b (diff)
downloadsrc-3bd12ca8f16af8e8ba3222f834c8df7ba2e3e230.tar.gz
src-3bd12ca8f16af8e8ba3222f834c8df7ba2e3e230.zip
Tidy up global locks for ACPICA. There is no functional change.
Notes
Notes: svn path=/head/; revision=254300
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/acpica_machdep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/include/acpica_machdep.h b/sys/amd64/include/acpica_machdep.h
index eb0282aa75b9..474378685892 100644
--- a/sys/amd64/include/acpica_machdep.h
+++ b/sys/amd64/include/acpica_machdep.h
@@ -59,9 +59,9 @@
#define ACPI_FLUSH_CPU_CACHE() wbinvd()
-/* Section 5.2.9.1: global lock acquire/release functions */
-extern int acpi_acquire_global_lock(uint32_t *lock);
-extern int acpi_release_global_lock(uint32_t *lock);
+/* Section 5.2.10.1: global lock acquire/release functions */
+int acpi_acquire_global_lock(volatile uint32_t *);
+int acpi_release_global_lock(volatile uint32_t *);
#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) do { \
(Acq) = acpi_acquire_global_lock(&((GLptr)->GlobalLock)); \
} while (0)