diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/acpi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 4f2a76224509..946fd1ea79ff 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -426,6 +426,14 @@ void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, | |||
426 | 426 | ||
427 | acpi_status acpi_os_prepare_sleep(u8 sleep_state, | 427 | acpi_status acpi_os_prepare_sleep(u8 sleep_state, |
428 | u32 pm1a_control, u32 pm1b_control); | 428 | u32 pm1a_control, u32 pm1b_control); |
429 | #if CONFIG_X86 | ||
430 | void arch_reserve_mem_area(acpi_physical_address addr, size_t size); | ||
431 | #else | ||
432 | static inline void arch_reserve_mem_area(acpi_physical_address addr, | ||
433 | size_t size) | ||
434 | { | ||
435 | } | ||
436 | #endif /* CONFIG_X86 */ | ||
429 | #else | 437 | #else |
430 | #define acpi_os_set_prepare_sleep(func, pm1a_ctrl, pm1b_ctrl) do { } while (0) | 438 | #define acpi_os_set_prepare_sleep(func, pm1a_ctrl, pm1b_ctrl) do { } while (0) |
431 | #endif | 439 | #endif |