summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-01-20 07:14:50 +0100
committerLen Brown <len.brown@intel.com>2010-01-20 07:14:50 +0100
commit378fa825f63b026ecb8660370298d74678cac319 (patch)
tree7b4bf165e13cbac6bdce713330c3bfaa21bb1d21 /include
parentMerge branch 'bugzilla-13577-video' into release (diff)
parentACPI: don't cond_resched if irq is disabled (diff)
downloadlinux-378fa825f63b026ecb8660370298d74678cac319.tar.xz
linux-378fa825f63b026ecb8660370298d74678cac319.zip
Merge branch 'bugzilla-14483' into release
Diffstat (limited to 'include')
-rw-r--r--include/acpi/platform/aclinux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 9d7febde10a1..09469971472f 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -152,7 +152,7 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache)
#include <linux/hardirq.h>
#define ACPI_PREEMPTION_POINT() \
do { \
- if (!in_atomic_preempt_off()) \
+ if (!in_atomic_preempt_off() && !irqs_disabled()) \
cond_resched(); \
} while (0)