|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] ACPI: Remove a redundant call to acpi_hw_
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1220442359 -3600
# Node ID a4cf79209a28ccd22473a99c0dc258027b262508
# Parent 021189f8cd784755d9b45ab5e9b947cc38b37f2b
ACPI: Remove a redundant call to acpi_hw_register_read().
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
---
xen/drivers/acpi/hwregs.c | 2 ++
1 files changed, 2 insertions(+)
diff -r 021189f8cd78 -r a4cf79209a28 xen/drivers/acpi/hwregs.c
--- a/xen/drivers/acpi/hwregs.c Wed Sep 03 11:02:57 2008 +0100
+++ b/xen/drivers/acpi/hwregs.c Wed Sep 03 12:45:59 2008 +0100
@@ -239,11 +239,13 @@ acpi_status acpi_set_register(u32 regist
case ACPI_REGISTER_PM2_CONTROL:
+#if 0 /* Redundant read in original Linux code. */
status = acpi_hw_register_read(ACPI_REGISTER_PM2_CONTROL,
®ister_value);
if (ACPI_FAILURE(status)) {
goto unlock_and_exit;
}
+#endif
ACPI_DEBUG_PRINT((ACPI_DB_IO,
"PM2 control: Read %X from %8.8X%8.8X\n",
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] ACPI: Remove a redundant call to acpi_hw_register_read().,
Xen patchbot-unstable <=
|
|
|
|
|