projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'v3.10.79' into linux-linaro-lsk-v3.10
[firefly-linux-kernel-4.4.55.git]
/
include
/
acpi
/
reboot.h
diff --git
a/include/acpi/reboot.h
b/include/acpi/reboot.h
index 8857f57e0b7804d0e931c8d05876913b09b052a0..0419184ce8867664164de63b2a232da985af718f 100644
(file)
--- 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
#endif