summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-12-28 03:20:03 -0500
committerLen Brown <len.brown@intel.com>2005-12-28 03:23:34 -0500
commit3173cdfe02995f6c6841a28b5148f94cefd8ab77 (patch)
treec198a8189aefdd00d0ad059ea4eded29412ba1e8 /drivers/acpi
parentdefba1d8f233c0d5cf3e1ea6aeb898eca7231860 (diff)
downloadblackbird-op-linux-3173cdfe02995f6c6841a28b5148f94cefd8ab77.tar.gz
blackbird-op-linux-3173cdfe02995f6c6841a28b5148f94cefd8ab77.zip
[ACPI] fix osl.c build warning
typecheck complains on i386 that u32 != unsigned long Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/osl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 4ece850b2af1..58e7c47354ee 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1073,7 +1073,7 @@ acpi_native_uint acpi_os_acquire_lock(acpi_handle handle)
void acpi_os_release_lock(acpi_handle handle, acpi_native_uint flags)
{
- spin_unlock_irqrestore((spinlock_t *) handle, flags);
+ spin_unlock_irqrestore((spinlock_t *) handle, (unsigned long) flags);
}
#ifndef ACPI_USE_LOCAL_CACHE
OpenPOWER on IntegriCloud