[ACPI] fix osl.c build warning
authorLen Brown <len.brown@intel.com>
Wed, 28 Dec 2005 08:20:03 +0000 (03:20 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 28 Dec 2005 08:23:34 +0000 (03:23 -0500)
typecheck complains on i386 that u32 != unsigned long

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/osl.c

index 4ece850b2af1c58a6d847b49c784d7dc3fcce512..58e7c47354ee6afac27bf1b6ed157322d35636d9 100644 (file)
@@ -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