Skip to content

Commit

Permalink
Merge branch 'preempt' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Len Brown committed Sep 19, 2009
2 parents 44396a2 + 138d156 commit 7ef0143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/acpi/platform/aclinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7ef0143

Please sign in to comment.