]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Merge branch 'bugzilla-14483' into release
authorLen Brown <len.brown@intel.com>
Wed, 20 Jan 2010 06:14:50 +0000 (01:14 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 20 Jan 2010 06:14:50 +0000 (01:14 -0500)
include/acpi/platform/aclinux.h

index 9d7febde10a172f7bc22f7b72e7ffa6456836788..09469971472fb5587207d5f1517342e479c5abb2 100644 (file)
@@ -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)