Browse Source

[ACPI] fix osl.c build warning

typecheck complains on i386 that u32 != unsigned long

Signed-off-by: Len Brown <len.brown@intel.com>
Len Brown 19 years ago
parent
commit
3173cdfe02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/acpi/osl.c

+ 1 - 1
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