mirror of https://gitee.com/openkylin/linux.git
[ACPI] fix osl.c build warning
typecheck complains on i386 that u32 != unsigned long Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
defba1d8f2
commit
3173cdfe02
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue