Skip to content

Commit

Permalink
ACPI: reboot.c: use new acpi_reset interface
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lin Ming authored and Len Brown committed Dec 31, 2008
1 parent d3fd902 commit 2ee6261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2ee6261

Please sign in to comment.