Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120013
b: refs/heads/master
c: abe1dfa
h: refs/heads/master
i:
  120011: 8fdb5c0
v: v3
  • Loading branch information
Wu Fengguang authored and Len Brown committed Dec 19, 2008
1 parent a429a0f commit 5363866
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e76f42761197dd6e9405e2eeb35932acfede115a
refs/heads/master: abe1dfab60e1839d115930286cb421f5a5b193f3
6 changes: 5 additions & 1 deletion trunk/include/acpi/platform/aclinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache)
/*
* We need to show where it is safe to preempt execution of ACPICA
*/
#define ACPI_PREEMPTION_POINT() cond_resched()
#define ACPI_PREEMPTION_POINT() \
do { \
if (!irqs_disabled()) \
cond_resched(); \
} while (0)

#endif /* __ACLINUX_H__ */

0 comments on commit 5363866

Please sign in to comment.