aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/reboot.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@google.com>2008-07-16 17:27:08 -0400
committerAndi Kleen <andi@basil.nowhere.org>2008-07-16 17:27:08 -0400
commit4d3870431d17346c4fdd80e087b7d76f1b5941d5 (patch)
treea8d3dcc5ab984ed7cbf67965372d58145bc90e9a /include/acpi/reboot.h
parentc83642d5123225a22cccd75adea6e97c245714cb (diff)
Add the ability to reset the machine using the RESET_REG in ACPI's FADT table.
Signed-off-by: Aaron Durbin <adurbin@google.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Len Brown <lenb@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/acpi/reboot.h')
-rw-r--r--include/acpi/reboot.h14
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
5extern void acpi_reboot(void);
6#else
7static 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