diff options
Diffstat (limited to 'include/acpi/platform/aclinux.h')
-rw-r--r-- | include/acpi/platform/aclinux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 9af464598682..029c8c06c151 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #include <linux/kernel.h> | 53 | #include <linux/kernel.h> |
54 | #include <linux/module.h> | 54 | #include <linux/module.h> |
55 | #include <linux/ctype.h> | 55 | #include <linux/ctype.h> |
56 | #include <linux/sched.h> | ||
56 | #include <asm/system.h> | 57 | #include <asm/system.h> |
57 | #include <asm/atomic.h> | 58 | #include <asm/atomic.h> |
58 | #include <asm/div64.h> | 59 | #include <asm/div64.h> |
@@ -137,4 +138,9 @@ static inline void *acpi_os_acquire_object(acpi_cache_t * cache) | |||
137 | #define ACPI_ALLOCATE_ZEROED(a) acpi_os_allocate_zeroed(a) | 138 | #define ACPI_ALLOCATE_ZEROED(a) acpi_os_allocate_zeroed(a) |
138 | #define ACPI_FREE(a) kfree(a) | 139 | #define ACPI_FREE(a) kfree(a) |
139 | 140 | ||
141 | /* | ||
142 | * We need to show where it is safe to preempt execution of ACPICA | ||
143 | */ | ||
144 | #define ACPI_PREEMPTION_POINT() cond_resched() | ||
145 | |||
140 | #endif /* __ACLINUX_H__ */ | 146 | #endif /* __ACLINUX_H__ */ |