All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ACPICA: Don't switch task then not allowed
@ 2009-08-28 19:29 Alexey Starikovskiy
  2009-08-28 19:29 ` [PATCH 2/3] ACPI: EC: use BURST mode only for MSI notebooks Alexey Starikovskiy
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexey Starikovskiy @ 2009-08-28 19:29 UTC (permalink / raw)
  To: Len Brown; +Cc: Linux-acpi

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
---

 include/acpi/platform/aclinux.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index fcb8e4b..9d7febd 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -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)
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-29 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-28 19:29 [PATCH 1/3] ACPICA: Don't switch task then not allowed Alexey Starikovskiy
2009-08-28 19:29 ` [PATCH 2/3] ACPI: EC: use BURST mode only for MSI notebooks Alexey Starikovskiy
2009-08-29 18:40   ` Len Brown
2009-08-28 19:29 ` [PATCH 3/3] ACPI: EC: Drop orphan comment Alexey Starikovskiy
2009-08-29 18:40   ` Len Brown
2009-08-29 18:41 ` [PATCH 1/3] ACPICA: Don't switch task then not allowed Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.