* [PATCH 3/8] acpi: reboot: use acpi_reset interface
@ 2008-11-26 2:54 Lin Ming
0 siblings, 0 replies; only message in thread
From: Lin Ming @ 2008-11-26 2:54 UTC (permalink / raw)
To: Len Brown, Moore, Robert; +Cc: linux-acpi
We have changed the acpi_hw_low_level_read and acpi_low_level_write functions
to the public acpi_read and acpi_write to allow direct access to ACPI registers.
acpi_read/write: http://git.acpica.org/repos/?p=acpica.git;a=commitdiff;h=8ce404a262f4eccf8ef484ef7e9a8f3604e031da
acpi_reset: http://git.acpica.org/repos/?p=acpica.git;a=commitdiff;h=3409e43b6386884be43dd3e6ec54de60e4fc191e
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
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 a6b662c..93f9114 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_hw_low_level_write(8, reset_value, rr);
+ acpi_reset();
break;
}
/* Wait ten seconds */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-26 2:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 2:54 [PATCH 3/8] acpi: reboot: use acpi_reset interface Lin Ming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox