Commit 3173cdfe authored by Len Brown's avatar Len Brown

[ACPI] fix osl.c build warning

typecheck complains on i386 that u32 != unsigned long
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent defba1d8
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment