ACPICA: Don't switch task then not allowed
Subsystems (2)
PATCH 1/1 ACPICA: Don't switch task then not allowed
Signed-off-by Alexey Starikovskiy <[email protected]>
---
include/acpi/platform/aclinux.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/acpi/platform/aclinux.h +1 -1
@@ -152,7 +152,7 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache)#define ACPI_PREEMPTION_POINT () \ do { \ - if (!irqs_disabled()) \ + if (!in_atomic_preempt_off()) \ cond_resched(); \ } while (0)