]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/acpi/reboot.h
Merge tag 'tegra-for-4.4-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[karo-tx-linux.git] / include / acpi / reboot.h
index 8857f57e0b7804d0e931c8d05876913b09b052a0..0419184ce8867664164de63b2a232da985af718f 100644 (file)
@@ -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