提交 2ee62612 编写于 作者: L Lin Ming 提交者: Len Brown

ACPI: reboot.c: use new acpi_reset interface

Use new acpi_reset interface to write to reset register
Signed-off-by: NLin Ming <ming.m.lin@intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 d3fd902d
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册