> void *acpi_os_acquire_object(acpi_cache_t * cache)
> {
>- void *object = kmem_cache_alloc(cache, GFP_KERNEL);
>+ void *object;
>+
>+ if (acpi_in_resume)
>+ object = kmem_cache_alloc(cache, GFP_ATOMIC);
>+ else
>+ object = kmem_cache_alloc(cache, GFP_KERNEL);
> WARN_ON(!object);
> return object;
>
I want to delete acpi_in_resume -- replacing it with
use of a system state.
But this patch makes things incrementally better for
the moment until than can be done, so I've applied it.
thanks,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html