mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Add the ability to reset the machine using the RESET_REG in ACPI's FADT table.
Signed-off-by: Aaron Durbin <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Cc: Len Brown <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
parent
c83642d512
commit
4d3870431d
3 changed files with 59 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue