mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
ACPI: reboot.c: use new acpi_reset interface
Use new acpi_reset interface to write to reset register Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
d3fd902d1e
commit
2ee6261248
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ void acpi_reboot(void)
|
|||
case ACPI_ADR_SPACE_SYSTEM_MEMORY:
|
||||
case ACPI_ADR_SPACE_SYSTEM_IO:
|
||||
printk(KERN_DEBUG "ACPI MEMORY or I/O RESET_REG.\n");
|
||||
acpi_write(reset_value, rr);
|
||||
acpi_reset();
|
||||
break;
|
||||
}
|
||||
/* Wait ten seconds */
|
||||
|
|
Loading…
Reference in a new issue