diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-05-12 03:45:54 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-27 12:13:07 -0400 |
commit | 636fcfefa2a45f5b54f475309928ef191b27dd19 (patch) | |
tree | 593c3cf0665b60361ca932f6b50ea4a78ef8a969 | |
parent | c9b77a4070a60762aee048e3c353d72fb990f940 (diff) |
ACPICA: Linux headers: Remove ACPI_PREEMPTION_POINT() due to no usages.
This patch deletes deprecated ACPI_PREEMPTION_POINT(), there is no user
for it in Linux kernel now.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | include/acpi/platform/aclinux.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 4c2f9e78001c..3b8b52f8a4e9 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -228,20 +228,6 @@ static inline acpi_thread_id acpi_os_get_thread_id(void) | |||
228 | 228 | ||
229 | #define ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_get_thread_id | 229 | #define ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_get_thread_id |
230 | 230 | ||
231 | #ifndef CONFIG_PREEMPT | ||
232 | |||
233 | /* | ||
234 | * Used within ACPICA to show where it is safe to preempt execution | ||
235 | * when CONFIG_PREEMPT=n | ||
236 | */ | ||
237 | #define ACPI_PREEMPTION_POINT() \ | ||
238 | do { \ | ||
239 | if (!irqs_disabled()) \ | ||
240 | cond_resched(); \ | ||
241 | } while (0) | ||
242 | |||
243 | #endif | ||
244 | |||
245 | /* | 231 | /* |
246 | * When lockdep is enabled, the spin_lock_init() macro stringifies it's | 232 | * When lockdep is enabled, the spin_lock_init() macro stringifies it's |
247 | * argument and uses that as a name for the lock in debugging. | 233 | * argument and uses that as a name for the lock in debugging. |