From: Lin Ming Date: Tue, 16 Dec 2008 08:40:31 +0000 (+0800) Subject: ACPI: reboot.c: use new acpi_reset interface X-Git-Tag: v2.6.29-rc1~34^2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2ee62612485f888b731804ca1b3b18ed8e842b51;p=linux-2.6-omap-h63xx.git ACPI: reboot.c: use new acpi_reset interface Use new acpi_reset interface to write to reset register Signed-off-by: Lin Ming Signed-off-by: Len Brown --- diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index b46fe52e96c..93f91142d7a 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -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 */