diff options
Diffstat (limited to 'include/acpi/reboot.h')
-rw-r--r-- | include/acpi/reboot.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/acpi/reboot.h b/include/acpi/reboot.h index 8857f57e0b78..0419184ce886 100644 --- a/include/acpi/reboot.h +++ b/include/acpi/reboot.h | |||
@@ -1,9 +1,11 @@ | |||
1 | #ifndef __ACPI_REBOOT_H | ||
2 | #define __ACPI_REBOOT_H | ||
3 | |||
4 | #ifdef CONFIG_ACPI | ||
5 | extern void acpi_reboot(void); | ||
6 | #else | ||
7 | static inline void acpi_reboot(void) { } | ||
8 | #endif | ||
1 | 9 | ||
2 | /* | ||
3 | * Dummy placeholder to make the EFI patches apply to the x86 tree. | ||
4 | * Andrew/Len, please just kill this file if you encounter it. | ||
5 | */ | ||
6 | #ifndef acpi_reboot | ||
7 | # define acpi_reboot() do { } while (0) | ||
8 | #endif | 10 | #endif |
9 | 11 | ||