diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2011-04-12 17:27:44 +0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-12 21:51:51 +0200 |
commit | 54f8e61d5bf8c80c407d8d6ea46ead816c029512 (patch) | |
tree | 9914ba27a27c08534ceb26f9de18366bbc43df52 /hw | |
parent | 54f7b4a396d00522d99c685562a54725a1b52e40 (diff) |
fix acpi regression
This bug is introduced by commit 23910d3f.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ static uint8_t *acpi_gpe_ioport_get_ptr(ACPIGPE *gpe, uint32_t addr) if (addr < gpe->len / 2) { cur = gpe->sts + addr; } else if (addr < gpe->len) { - cur = gpe->en + addr; + cur = gpe->en + addr - gpe->len / 2; } else { abort(); } |