aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2005-10-21 00:00:00 -0400
committerLen Brown <len.brown@intel.com>2005-12-10 00:22:54 -0500
commit0897831bb54eb36fd9e2a22da7f0f64be1b20d09 (patch)
tree8d77687ce8ebcfb62d6012d2d3c44f6a904b3c15 /drivers/acpi/osl.c
parent50eca3eb89d73d9f0aa070b126c7ee6a616016ab (diff)
[ACPI] ACPICA 20051021
Implemented support for the EM64T and other x86_64 processors. This essentially entails recognizing that these processors support non-aligned memory transfers. Previously, all 64-bit processors were assumed to lack hardware support for non-aligned transfers. Completed conversion of the Resource Manager to nearly full table-driven operation. Specifically, the resource conversion code (convert AML to internal format and the reverse) and the debug code to dump internal resource descriptors are fully table-driven, reducing code and data size and improving maintainability. The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word on 64-bit processors instead of a fixed 32-bit word. (Alexey Starikovskiy) Implemented support within the resource conversion code for the Type-Specific byte within the various ACPI 3.0 *WordSpace macros. Fixed some issues within the resource conversion code for the type-specific flags for both Memory and I/O address resource descriptors. For Memory, implemented support for the MTP and TTP flags. For I/O, split the TRS and TTP flags into two separate fields. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index e3cd0b16031a..4ece850b2af1 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1058,11 +1058,9 @@ EXPORT_SYMBOL(max_cstate);
1058 * Acquire a spinlock. 1058 * Acquire a spinlock.
1059 * 1059 *
1060 * handle is a pointer to the spinlock_t. 1060 * handle is a pointer to the spinlock_t.
1061 * flags is *not* the result of save_flags - it is an ACPI-specific flag variable
1062 * that indicates whether we are at interrupt level.
1063 */ 1061 */
1064 1062
1065unsigned long acpi_os_acquire_lock(acpi_handle handle) 1063acpi_native_uint acpi_os_acquire_lock(acpi_handle handle)
1066{ 1064{
1067 unsigned long flags; 1065 unsigned long flags;
1068 spin_lock_irqsave((spinlock_t *) handle, flags); 1066 spin_lock_irqsave((spinlock_t *) handle, flags);
@@ -1073,7 +1071,7 @@ unsigned long acpi_os_acquire_lock(acpi_handle handle)
1073 * Release a spinlock. See above. 1071 * Release a spinlock. See above.
1074 */ 1072 */
1075 1073
1076void acpi_os_release_lock(acpi_handle handle, unsigned long flags) 1074void acpi_os_release_lock(acpi_handle handle, acpi_native_uint flags)
1077{ 1075{
1078 spin_unlock_irqrestore((spinlock_t *) handle, flags); 1076 spin_unlock_irqrestore((spinlock_t *) handle, flags);
1079} 1077}