mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
Merge branch 'preempt' into release
This commit is contained in:
commit
7ef0143e2f
1 changed files with 2 additions and 2 deletions
|
@ -149,10 +149,10 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache)
|
|||
#define ACPI_FREE(a) kfree(a)
|
||||
|
||||
/* Used within ACPICA to show where it is safe to preempt execution */
|
||||
|
||||
#include <linux/hardirq.h>
|
||||
#define ACPI_PREEMPTION_POINT() \
|
||||
do { \
|
||||
if (!irqs_disabled()) \
|
||||
if (!in_atomic_preempt_off()) \
|
||||
cond_resched(); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue