]> xenbits.xensource.com Git - xen.git/commit
ACPI/ERST: fix table mapping
authorJan Beulich <jbeulich@suse.com>
Wed, 4 Jun 2014 15:20:38 +0000 (17:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 4 Jun 2014 15:20:38 +0000 (17:20 +0200)
commit68dc110d63d24df71a0278812c2a4d99d3206faf
tree3488386205a446b063d591c14b1f3f9d0581e53f
parent3eeb55368557548b1f5cd641af40292bd44fd766
ACPI/ERST: fix table mapping

acpi_get_table(), when executed before reaching SYS_STATE_active, will
return a mapping valid only until the next invocation of that funciton.
Consequently storing the returned pointer for later use is incorrect.
Copy the logic used in VT-d's DMAR handling.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
master commit: fca69b1fc606ece62430076ca4a157e4bed749a8
master date: 2014-05-26 12:25:01 +0200
xen/drivers/acpi/apei/erst.c
xen/include/asm-x86/fixmap.h