diff options
author | Lin Ming <ming.m.lin@intel.com> | 2008-12-16 03:40:31 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:15:00 -0500 |
commit | 2ee62612485f888b731804ca1b3b18ed8e842b51 (patch) | |
tree | 8a9846c3820f86ae2bb2fb9ae61abe6b7674e0be /drivers | |
parent | d3fd902d1ed43aebfc407c08d7ce86495604124c (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index b46fe52e96c5..93f91142d7ad 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c | |||
@@ -42,7 +42,7 @@ void acpi_reboot(void) | |||
42 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: | 42 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: |
43 | case ACPI_ADR_SPACE_SYSTEM_IO: | 43 | case ACPI_ADR_SPACE_SYSTEM_IO: |
44 | printk(KERN_DEBUG "ACPI MEMORY or I/O RESET_REG.\n"); | 44 | printk(KERN_DEBUG "ACPI MEMORY or I/O RESET_REG.\n"); |
45 | acpi_write(reset_value, rr); | 45 | acpi_reset(); |
46 | break; | 46 | break; |
47 | } | 47 | } |
48 | /* Wait ten seconds */ | 48 | /* Wait ten seconds */ |