X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Facpi%2Freboot.h;h=0419184ce8867664164de63b2a232da985af718f;hb=15f82fce54b86e159fe5a1d41dcdc89e12b26459;hp=8857f57e0b7804d0e931c8d05876913b09b052a0;hpb=44c3b59102e3ecc7a01e9811862633e670595e51;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