X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Facpi%2Freboot.h;h=0419184ce8867664164de63b2a232da985af718f;hb=baf41996d83a6ecd270be42ca1870592827fb30d;hp=8857f57e0b7804d0e931c8d05876913b09b052a0;hpb=70ec75c5b8e0bda7a16fb387f91e08545f379a0e;p=firefly-linux-kernel-4.4.55.git 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 @@ +#ifndef __ACPI_REBOOT_H +#define __ACPI_REBOOT_H + +#ifdef CONFIG_ACPI +extern void acpi_reboot(void); +#else +static inline void acpi_reboot(void) { } +#endif -/* - * Dummy placeholder to make the EFI patches apply to the x86 tree. - * Andrew/Len, please just kill this file if you encounter it. - */ -#ifndef acpi_reboot -# define acpi_reboot() do { } while (0) #endif